7325aca987
Change-Id: I8cbb919c39bdb099eaec076c7bcf2ea0b84a6475
23 lines
477 B
YAML
23 lines
477 B
YAML
- name: Set ownership of /opt
|
|
become: true
|
|
file:
|
|
path: /opt
|
|
state: directory
|
|
owner: "{{ ansible_user }}"
|
|
group: "{{ ansible_user }}"
|
|
mode: 0755
|
|
- name: Clone devstack
|
|
git:
|
|
repo: https://opendev.org/openstack/devstack
|
|
dest: /opt/devstack
|
|
version: master
|
|
- name: Write local.conf
|
|
template:
|
|
dest: /opt/devstack/local.conf
|
|
src: local.conf.j2
|
|
mode: 0644
|
|
- name: Run devstack
|
|
command: ./stack.sh
|
|
args:
|
|
chdir: /opt/devstack
|