Add the cloud name to more task details

Add the cloud name to make it easier to debug what's going on in each
teask when you have this running on many clouds.

Change-Id: Ife331f8048d18e8ecb8743d1cdedadbdedffa2a2
This commit is contained in:
Ian Wienand 2018-11-07 10:08:22 +11:00
parent 126a547f04
commit 7dc9777628
13 changed files with 13 additions and 13 deletions

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing domain {{ item_domain.name }}" - name: "Processing domain {{ item_domain.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_keystone_domain: os_keystone_domain:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_domain.state|default(omit) }}" state: "{{ item_domain.state|default(omit) }}"

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing flavor {{ item_flavor.name }}" - name: "Processing flavor {{ item_flavor.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_nova_flavor: os_nova_flavor:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_flavor.state|default(omit) }}" state: "{{ item_flavor.state|default(omit) }}"

View File

@ -9,7 +9,7 @@
force: "{{ item_image.download_image_force|default(download_image_force) }}" force: "{{ item_image.download_image_force|default(download_image_force) }}"
when: not openstack_image when: not openstack_image
when: item_image.download_image_url is defined when: item_image.download_image_url is defined
- name: "Processing image {{ item_image.name }}" - name: "Processing image {{ item_image.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_image: os_image:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_image.state|default(omit) }}" state: "{{ item_image.state|default(omit) }}"

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing keypair {{ item_keypair.name }}" - name: "Processing keypair {{ item_keypair.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_keypair: os_keypair:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_keypair.state|default(omit) }}" state: "{{ item_keypair.state|default(omit) }}"

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing network {{ item_network.name }}" - name: "Processing network {{ item_network.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_network: os_network:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_network.state|default(omit) }}" state: "{{ item_network.state|default(omit) }}"

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing project {{ item_project.name }}" - name: "Processing project {{ item_project.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_project: os_project:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_project.state|default(omit) }}" state: "{{ item_project.state|default(omit) }}"

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing role {{ item_role.name }}" - name: "Processing role {{ item_role.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_keystone_role: os_keystone_role:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_role.state|default(omit) }}" state: "{{ item_role.state|default(omit) }}"

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing router {{ item_router.name }}" - name: "Processing router {{ item_router.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_router: os_router:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_router.state|default(omit) }}" state: "{{ item_router.state|default(omit) }}"

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing security_group_rule" - name: "Processing security_group_rule for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_security_group_rule: os_security_group_rule:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_security_group_rule.state|default(omit) }}" state: "{{ item_security_group_rule.state|default(omit) }}"

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing subnet {{ item_subnet.name }}" - name: "Processing subnet {{ item_subnet.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_subnet: os_subnet:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_subnet.state|default(omit) }}" state: "{{ item_subnet.state|default(omit) }}"

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing user {{ item_user.name }}" - name: "Processing user {{ item_user.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_user: os_user:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_user.state|default(omit) }}" state: "{{ item_user.state|default(omit) }}"

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing user role {{ item_user_role.role }}" - name: "Processing user role {{ item_user_role.role }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_user_role: os_user_role:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_user_role.state|default(omit) }}" state: "{{ item_user_role.state|default(omit) }}"

View File

@ -1,5 +1,5 @@
--- ---
- name: "Processing volume {{ item_volume.name }}" - name: "Processing volume {{ item_volume.name }} for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
os_volume: os_volume:
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}" cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
state: "{{ item_volume.state|default(omit) }}" state: "{{ item_volume.state|default(omit) }}"