diff --git a/tasks/main.yml b/tasks/main.yml index eb14c71..5751595 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -23,6 +23,28 @@ - FreeBSD-shortcuts.yml - keyboard.yml +- include_tasks: "{{ tweak }}" + when: ansible_facts['os_family'] == "Debian" + tags: + - installation + - configuration + - vars + loop_control: + loop_var: tweak + loop: + - Debian-power.yml + +- include_tasks: "{{ tweak }}" + when: ansible_facts['os_family'] == "Archlinux" + tags: + - installation + - configuration + - vars + loop_control: + loop_var: tweak + loop: + - Archlinux-power.yml + - include_tasks: "{{ tweaks }}" when: "ansible_system == 'FreeBSD'" tags: