Commit 1b499524 authored by Jürgen Haas's avatar Jürgen Haas

ansible-playbooks/general#72 Go back to includes for main.yml files

parent b9c522ab
......@@ -11,18 +11,16 @@
- block:
- include_tasks: install.yml
tags: 'always'
- include: install.yml
- name: "Check available accounts"
command: gcloud auth list
register: gcloud_available_accounts
changed_when: false
- include_tasks: config.yml
- include: config.yml
with_items: '{{ gcloud|default([]) }}'
when: gcloud[item].account not in gcloud_available_accounts.stdout
tags: 'always'
- name: "Ensure log directory"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment