Commit 706d4e74 authored by Jürgen Haas's avatar Jürgen Haas

ansible-playbooks/general#85 Name import and include tasks

parent cb52d171
......@@ -13,14 +13,16 @@
- block:
- import_tasks: install.yml
- name: Import install
import_tasks: install.yml
- name: Check available accounts
command: gcloud auth list
register: gcloud_available_accounts
changed_when: no
- include_tasks: config.yml
- name: Include config
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