From f78431887542cd8c2184d47e0eb1fa89f5b340e9 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 25 May 2019 02:41:17 +0200 Subject: fix cloud-install role --- roles/cloud-install/tasks/install_hcloud.yml | 2 +- roles/cloud-install/tasks/install_hroot.yml | 2 +- roles/cloud-install/tasks/main.yml | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'roles/cloud-install/tasks') diff --git a/roles/cloud-install/tasks/install_hcloud.yml b/roles/cloud-install/tasks/install_hcloud.yml index a4c61c0f..455d832e 100644 --- a/roles/cloud-install/tasks/install_hcloud.yml +++ b/roles/cloud-install/tasks/install_hcloud.yml @@ -22,7 +22,7 @@ - name: do not continue in check mode fail: msg: "can not bootstrap new servers in check mode" - when: ansible_check_mode + when: ansible_check_mode | bool check_mode: no ### TODO: for now we add all ssh keys that are installed for this project - this might not be a good idea! diff --git a/roles/cloud-install/tasks/install_hroot.yml b/roles/cloud-install/tasks/install_hroot.yml index 6d4d6017..1a8aeeaf 100644 --- a/roles/cloud-install/tasks/install_hroot.yml +++ b/roles/cloud-install/tasks/install_hroot.yml @@ -14,7 +14,7 @@ - name: do not continue in check mode fail: msg: "can not bootstrap new servers in check mode" - when: ansible_check_mode + when: ansible_check_mode | bool check_mode: no - block: diff --git a/roles/cloud-install/tasks/main.yml b/roles/cloud-install/tasks/main.yml index ef6d42ae..94265382 100644 --- a/roles/cloud-install/tasks/main.yml +++ b/roles/cloud-install/tasks/main.yml @@ -1,6 +1,5 @@ --- - include_tasks: "{{ item }}" - static: no with_first_found: - files: - "install_{{ cloud_provider }}.yml" @@ -9,8 +8,7 @@ setup: - include_tasks: "{{ item }}" - static: no with_first_found: - files: - "post_{{ cloud_provider }}.yml" - skip: True + skip: true -- cgit v1.2.3