Merge "zuul: create Neutron config dir for the devstack job"
This commit is contained in:
commit
aa358e5e66
@ -12,6 +12,8 @@
|
|||||||
- ^doc/.*
|
- ^doc/.*
|
||||||
- ^qinling/tests/unit/.*$
|
- ^qinling/tests/unit/.*$
|
||||||
- ^releasenotes/.*$
|
- ^releasenotes/.*$
|
||||||
|
pre-run: playbooks/pre.yaml
|
||||||
|
post-run: playbooks/post.yaml
|
||||||
vars:
|
vars:
|
||||||
devstack_services:
|
devstack_services:
|
||||||
# Disable unneeded services.
|
# Disable unneeded services.
|
||||||
|
8
playbooks/post.yaml
Normal file
8
playbooks/post.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
- hosts: all
|
||||||
|
tasks:
|
||||||
|
- name: cleanup the Neutron config dir
|
||||||
|
become: true
|
||||||
|
file:
|
||||||
|
path: /etc/neutron
|
||||||
|
state: absent
|
||||||
|
|
10
playbooks/pre.yaml
Normal file
10
playbooks/pre.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
- hosts: all
|
||||||
|
tasks:
|
||||||
|
- name: create Neutron config dir for devstack job
|
||||||
|
become: true
|
||||||
|
file:
|
||||||
|
path: /etc/neutron
|
||||||
|
owner: stack
|
||||||
|
recurse: yes
|
||||||
|
state: directory
|
||||||
|
|
Loading…
Reference in New Issue
Block a user