Created
August 18, 2016 18:07
-
-
Save evrardjp/9ef0dc021df31a2d05b0026a7f5d602b to your computer and use it in GitHub Desktop.
deploy liberty
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
--- | |
- hosts: "{{ host }}" | |
tasks: | |
- apt: | |
update_cache: yes | |
- apt: | |
name: "{{ item }}" | |
state: present | |
with_items: | |
- git | |
- screen | |
- build-essential | |
- python2.7 | |
- python-dev | |
- git-core | |
- libffi-dev | |
- libssl-dev | |
- python-pip | |
- file: | |
path: /opt/openstack-ansible/ | |
state: directory | |
- git: | |
repo: "https://github.com/openstack/openstack-ansible.git" | |
dest: /opt/openstack-ansible | |
version: liberty | |
- shell: screen -dmS deploy bash -c 'cd /opt/openstack-ansible/; scripts/gate-check-commit.sh' | |
tags: | |
- screen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment