Commit 8c38d089 authored by Jürgen Haas's avatar Jürgen Haas

ansible-playbooks/general#72 Always use import_tasks or include_tasks instead of just include

parent 29e4154a
......@@ -11,14 +11,14 @@
- block:
- include: install.yml
- import_tasks: install.yml
- 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
......
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