Last active
December 20, 2016 02:21
-
-
Save austinpapp/73d367b87363d9be505d6e757bfbc322 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ID: get-pip | |
Function: file.managed | |
Name: /tmp/get-pip.py | |
Result: True | |
Comment: unless execution succeeded | |
Started: 21:06:01.890989 | |
Duration: 917.375 ms | |
Changes: | |
---------- | |
ID: get-pip | |
Function: cmd.run | |
Name: python /tmp/get-pip.py | |
Result: False | |
Comment: Command "python /tmp/get-pip.py" run | |
Started: 21:06:02.808955 | |
Duration: 15.451 ms | |
Changes: | |
---------- | |
pid: | |
9679 | |
retcode: | |
2 | |
stderr: | |
python: can't open file '/tmp/get-pip.py': [Errno 2] No such file or directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get-pip: | |
file.managed: | |
- name: /tmp/get-pip.py | |
- source: http://internally-hosted.com/pip/get-pip.py | |
- mode: 755 | |
- skip_verify: True | |
- unless: | |
- which pip | |
cmd.run: | |
- name: python /tmp/get-pip.py | |
- require: | |
- file: /tmp/get-pip.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment