diff --git a/roles/common/defaults/main.yml b/roles/common/defaults/main.yml new file mode 100644 index 0000000..8afd506 --- /dev/null +++ b/roles/common/defaults/main.yml @@ -0,0 +1,2 @@ +--- +disable_usb_wake: false diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 9058af4..3dfce46 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -1,4 +1,9 @@ --- +- 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 diff --git a/vars/tycho.yml b/vars/tycho.yml new file mode 100644 index 0000000..69cc447 --- /dev/null +++ b/vars/tycho.yml @@ -0,0 +1,2 @@ +--- +disable_usb_wake: true