Created
February 15, 2019 12:59
-
-
Save Zooloo2014/4b70adc9a1c2396f1f4ef95920e8a077 to your computer and use it in GitHub Desktop.
This file contains 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
--- | |
# tasks file for common | |
- name: install Python 2.x | |
raw: which python || sudo apt-get update && sudo apt-get install -qq -y python-simplejson | |
register: python_check | |
changed_when: not python_check.stdout is search('/usr/bin/python') | |
- name: install pip | |
apt: | |
name: python-pip | |
state: present | |
update_cache: yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment