...
 
Commits (3)
......@@ -7,20 +7,22 @@
- name: "Google Cloud Role"
set_fact: role_gcloud_started=true
tags: always
tags: 'always'
- block:
- include_tasks: install.yml
tags: 'always'
- name: "Check available accounts"
command: gcloud auth list
register: gcloud_available_accounts
changed_when: false
- include: config.yml
- include_tasks: config.yml
with_items: '{{ gcloud|default([]) }}'
when: gcloud[item].account not in gcloud_available_accounts.stdout
tags: 'always'
- name: "Ensure log directory"
file:
......