Created
February 15, 2019 12:59
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