configs/roles/common/tasks/main.yml

16 lines
384 B
YAML

---
- name: Import machine-specific variables
ignore_errors: yes # if the file doesn't exist, np, we have a default.yml
include_vars:
file: "{{ ansible_hostname }}.yml"
- include: selinux.yml
- include: packages.yml
- include: users.yml
- include: nix.yml
- include: sshd.yml
- name: Disable wake on USB
import_tasks: disable_usb_wake.yml
when: disable_usb_wake == True