--- - name: 安装pipenv shell: chdir: ~ cmd: pip3 install pipenv - name: pipenv软连接 file: src: /usr/local/python3/bin/pipenv dest: /usr/bin/pipenv state: link