Update main.yml
Better have the condition here, before the call to the import_tasks: setup-debian.yml
This commit is contained in:
parent
795e5a20c2
commit
5bf06c87c4
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
- import_tasks: prerequisites/install-prerequisites.yml
|
- import_tasks: prerequisites/install-prerequisites.yml
|
||||||
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
- import_tasks: keys/apt-key.yml
|
- import_tasks: keys/apt-key.yml
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
Loading…
Reference in New Issue
Block a user