Created
January 27, 2017 08:29
-
-
Save lozadaOmr/0ed62559bc0fe4c85a935adb85abc0e1 to your computer and use it in GitHub Desktop.
Pre-installs python2 and Installs Docker
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
--- | |
- hosts: all | |
remote_user: root | |
gather_facts: no | |
pre_tasks: | |
- name: 'install python2' | |
raw: sudo apt-get -y install python-simplejson | |
tasks: | |
- name: Install Python | |
apt: name=python state=present | |
- name: Install Python-pip | |
apt: name=python-pip state=present | |
- name: Install Docker | |
apt: name=docker.io state=present | |
- name: Install Docker-compose | |
shell: pip install docker-compose | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment