Browse Source

Merge "zuul: create Neutron config dir for the devstack job"

changes/02/554802/1
Zuul 3 years ago
committed by Gerrit Code Review
parent
commit
aa358e5e66
3 changed files with 20 additions and 0 deletions
  1. +2
    -0
      .zuul.yaml
  2. +8
    -0
      playbooks/post.yaml
  3. +10
    -0
      playbooks/pre.yaml

+ 2
- 0
.zuul.yaml View File

@ -12,6 +12,8 @@
- ^doc/.*
- ^qinling/tests/unit/.*$
- ^releasenotes/.*$
pre-run: playbooks/pre.yaml
post-run: playbooks/post.yaml
vars:
devstack_services:
# Disable unneeded services.


+ 8
- 0
playbooks/post.yaml View File

@ -0,0 +1,8 @@
- hosts: all
tasks:
- name: cleanup the Neutron config dir
become: true
file:
path: /etc/neutron
state: absent

+ 10
- 0
playbooks/pre.yaml View 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…
Cancel
Save