mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
fixed include tasks
This commit is contained in:
parent
68da8c799f
commit
fc2a2e5492
@ -31,8 +31,7 @@
|
||||
stat: path={{ playbook_dir }}roles/packages-desktop/tasks/{{ ansible_hostname }}.yml
|
||||
register: hostname_packages_file
|
||||
|
||||
- name: Run hostname specific tasks
|
||||
import_tasks: {{ playbook_dir }}roles/packages-desktop/tasks/{{ ansible_hostname }}.yml
|
||||
- include_tasks: "{{ playbook_dir }}roles/packages-desktop/tasks/{{ ansible_hostname }}.yml"
|
||||
when: hostname_packages_file.stat.exists
|
||||
|
||||
- name: Flush handlers to clean /tmp
|
||||
|
Loading…
Reference in New Issue
Block a user