forked from luboszk/devstack-octavia-vagrant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaybook.yml
More file actions
28 lines (21 loc) · 747 Bytes
/
playbook.yml
File metadata and controls
28 lines (21 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
- hosts: all
tasks:
- name: install git package
apt: pkg=git update_cache=yes state=present
become: true
- name: clone git Devstack repo
git: repo=https://git.openstack.org/openstack-dev/devstack
dest=/home/ubuntu/devstack
- name: copy devstack conf files
copy: src=local.conf dest=/home/ubuntu/devstack/
- name: copy script which configure Octavia
copy: src=local.sh dest=/home/ubuntu/devstack/ mode=0744
when: false
- name: copy webserver conf file
copy: src=webserver.sh dest=/home/ubuntu/devstack/
- name: install devstack with Octavia
command: bash -c "./stack.sh"
args:
chdir: /home/ubuntu/devstack
creates: /opt/stack