Skip to content

Commit

Permalink
Update create.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alinabuzachis authored Dec 13, 2023
1 parent 9c6690e commit 544245e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion roles/manage_machine_image/tasks/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@

- name: Set 'manage_machine_image__source'
ansible.builtin.set_fact:
manage_machine_image__source: "{{ [manage_machine_image__source_disk_info.resources, manage_machine_image__source_snapshot_info.resources, manage_machine_image__source_image_info.resources] | reject('undefined') | join(',') }}"
manage_machine_image__source: >
"{{ [manage_machine_image__source_disk_info.resources, manage_machine_image__source_snapshot_info.resources,
manage_machine_image__source_image_info.resources]
| reject('undefined') | join(',') }}"
- name: Verify if the machine image already exists
google.cloud.gcp_compute_image_info:
Expand Down

0 comments on commit 544245e

Please sign in to comment.