diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..ed865bf --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,2 @@ +[defaults] +inventory = hosts diff --git a/hosts b/hosts index a14a3d7..729dc6e 100644 --- a/hosts +++ b/hosts @@ -1,3 +1,3 @@ -[workstations] +[workstation] x570 dell diff --git a/local.yml b/local.yml index 00af646..634c1c2 100644 --- a/local.yml +++ b/local.yml @@ -9,7 +9,10 @@ - include: tasks/packages.yml when: ansible_distribution == "Ubuntu" -- hosts: workstations + - include: tasks/flatpaks.yml + when: ansible_distribution == "Pop!_OS" + +- hosts: workstation become: true tasks: - include: tasks/flatpaks.yml