Merge "Allow to run cinder role in check mode"
This commit is contained in:
commit
252010bb8a
@ -42,6 +42,7 @@
|
|||||||
src: "{{ cinder_bin | dirname }}/etc/os-brick/rootwrap.d/os-brick.filters"
|
src: "{{ cinder_bin | dirname }}/etc/os-brick/rootwrap.d/os-brick.filters"
|
||||||
dest: /etc/cinder/rootwrap.d/os-brick.filters
|
dest: /etc/cinder/rootwrap.d/os-brick.filters
|
||||||
state: link
|
state: link
|
||||||
|
ignore_errors: "{{ ansible_check_mode }}"
|
||||||
|
|
||||||
- name: Copy cinder rootwrap filters
|
- name: Copy cinder rootwrap filters
|
||||||
command: >-
|
command: >-
|
||||||
|
@ -103,6 +103,7 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
with_items: "{{ cinder_core_files }}"
|
with_items: "{{ cinder_core_files }}"
|
||||||
run_once: true
|
run_once: true
|
||||||
|
check_mode: false
|
||||||
|
|
||||||
- name: Copy common config
|
- name: Copy common config
|
||||||
openstack.config_template.config_template:
|
openstack.config_template.config_template:
|
||||||
|
@ -109,11 +109,17 @@
|
|||||||
tags:
|
tags:
|
||||||
- cinder-config
|
- cinder-config
|
||||||
|
|
||||||
- import_tasks: cinder_cleanup_old_facts.yml
|
- include_tasks: cinder_cleanup_old_facts.yml
|
||||||
|
args:
|
||||||
|
apply:
|
||||||
|
tags:
|
||||||
|
- cinder-config
|
||||||
when:
|
when:
|
||||||
|
- "'openstack_ansible' in ansible_local"
|
||||||
|
- "'cinder' in ansible_local['openstack_ansible']"
|
||||||
- "'need_db_sync' in ansible_local['openstack_ansible']['cinder']"
|
- "'need_db_sync' in ansible_local['openstack_ansible']['cinder']"
|
||||||
tags:
|
tags:
|
||||||
- cinder-config
|
- always
|
||||||
|
|
||||||
- import_tasks: cinder_post_install.yml
|
- import_tasks: cinder_post_install.yml
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user