Skip to content

Instantly share code, notes, and snippets.

@evrardjp
Created August 18, 2016 18:07
Show Gist options
  • Save evrardjp/9ef0dc021df31a2d05b0026a7f5d602b to your computer and use it in GitHub Desktop.
Save evrardjp/9ef0dc021df31a2d05b0026a7f5d602b to your computer and use it in GitHub Desktop.
deploy liberty
---
- 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