Merge "Add become for Octavia configuration tasks"

This commit is contained in:
Zuul 2018-12-24 08:36:02 +00:00 committed by Gerrit Code Review
commit 54da9fa92c

View File

@ -104,6 +104,7 @@
copy: copy:
src: "{{ node_custom_config }}/octavia/{{ item }}" src: "{{ node_custom_config }}/octavia/{{ item }}"
dest: "{{ node_config_directory }}/octavia-housekeeping/{{ item }}" dest: "{{ node_config_directory }}/octavia-housekeeping/{{ item }}"
become: true
register: octavia_housekeeping_certificate register: octavia_housekeeping_certificate
when: when:
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]
@ -121,6 +122,7 @@
copy: copy:
src: "{{ node_custom_config }}/octavia/{{ item }}" src: "{{ node_custom_config }}/octavia/{{ item }}"
dest: "{{ node_config_directory }}/octavia-health-manager/{{ item }}" dest: "{{ node_config_directory }}/octavia-health-manager/{{ item }}"
become: true
register: octavia_health_manager_certificate register: octavia_health_manager_certificate
when: when:
- inventory_hostname in groups[service.group] - inventory_hostname in groups[service.group]