Merge "Create /run/netns if does not exist" into stable/rocky
This commit is contained in:
commit
8703f8972c
|
@ -236,6 +236,14 @@ outputs:
|
||||||
host_prep_tasks:
|
host_prep_tasks:
|
||||||
list_concat:
|
list_concat:
|
||||||
- {get_attr: [NeutronLogging, host_prep_tasks]}
|
- {get_attr: [NeutronLogging, host_prep_tasks]}
|
||||||
|
- - name: create /run/netns with temp namespace
|
||||||
|
command: ip netns add ns_temp
|
||||||
|
register: ipnetns_add_result
|
||||||
|
ignore_errors: True
|
||||||
|
- - name: remove temp namespace
|
||||||
|
command: ip netns delete ns_temp
|
||||||
|
ignore_errors: True
|
||||||
|
when: ipnetns_add_result.rc == 0
|
||||||
- - name: create /var/lib/neutron
|
- - name: create /var/lib/neutron
|
||||||
file:
|
file:
|
||||||
path: /var/lib/neutron
|
path: /var/lib/neutron
|
||||||
|
|
|
@ -232,6 +232,14 @@ outputs:
|
||||||
host_prep_tasks:
|
host_prep_tasks:
|
||||||
list_concat:
|
list_concat:
|
||||||
- {get_attr: [NeutronLogging, host_prep_tasks]}
|
- {get_attr: [NeutronLogging, host_prep_tasks]}
|
||||||
|
- - name: create /run/netns with temp namespace
|
||||||
|
command: ip netns add ns_temp
|
||||||
|
register: ipnetns_add_result
|
||||||
|
ignore_errors: True
|
||||||
|
- - name: remove temp namespace
|
||||||
|
command: ip netns delete ns_temp
|
||||||
|
ignore_errors: True
|
||||||
|
when: ipnetns_add_result.rc == 0
|
||||||
- - name: create /var/lib/neutron
|
- - name: create /var/lib/neutron
|
||||||
file:
|
file:
|
||||||
path: /var/lib/neutron
|
path: /var/lib/neutron
|
||||||
|
|
|
@ -186,6 +186,14 @@ outputs:
|
||||||
host_prep_tasks:
|
host_prep_tasks:
|
||||||
list_concat:
|
list_concat:
|
||||||
- {get_attr: [NeutronLogging, host_prep_tasks]}
|
- {get_attr: [NeutronLogging, host_prep_tasks]}
|
||||||
|
- - name: create /run/netns with temp namespace
|
||||||
|
command: ip netns add ns_temp
|
||||||
|
register: ipnetns_add_result
|
||||||
|
ignore_errors: True
|
||||||
|
- - name: remove temp namespace
|
||||||
|
command: ip netns delete ns_temp
|
||||||
|
ignore_errors: True
|
||||||
|
when: ipnetns_add_result.rc == 0
|
||||||
- - name: create /var/lib/neutron
|
- - name: create /var/lib/neutron
|
||||||
file:
|
file:
|
||||||
path: /var/lib/neutron
|
path: /var/lib/neutron
|
||||||
|
|
Loading…
Reference in New Issue