Allow os_neutron to run in check mode
Let role fetch config file/u-c regardless of mode. These are safe operations to run in check mode and shouldn't affect anything. Change-Id: I09305017f63993a9bd665f1887b6cc0b6beb6e5b
This commit is contained in:
parent
fb6284b257
commit
18c274ffa6
@ -96,6 +96,8 @@
|
|||||||
group_names: "{{ group_names }}"
|
group_names: "{{ group_names }}"
|
||||||
register: pndata
|
register: pndata
|
||||||
when: neutron_provider_networks is not defined
|
when: neutron_provider_networks is not defined
|
||||||
|
check_mode: false
|
||||||
|
changed_when: false
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@
|
|||||||
url: "{{ neutron_upper_constraints_url }}"
|
url: "{{ neutron_upper_constraints_url }}"
|
||||||
return_content: yes
|
return_content: yes
|
||||||
register: _u_c_contents
|
register: _u_c_contents
|
||||||
|
check_mode: false
|
||||||
|
|
||||||
- name: Install the python venv
|
- name: Install the python venv
|
||||||
import_role:
|
import_role:
|
||||||
|
@ -136,6 +136,7 @@
|
|||||||
state: absent
|
state: absent
|
||||||
changed_when: false
|
changed_when: false
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
check_mode: false
|
||||||
with_items: "{{ neutron_core_files }}"
|
with_items: "{{ neutron_core_files }}"
|
||||||
|
|
||||||
# NOTE(cloudnull): This will ensure strong permissions on all rootwrap files.
|
# NOTE(cloudnull): This will ensure strong permissions on all rootwrap files.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user