1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +01:00

fixed include tasks

This commit is contained in:
eoli3n 2017-12-19 18:34:53 +01:00
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