diff --git a/README.md b/README.md index ec0364a..b9394fc 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A set of ansible scripts to configure my system. ## Example ```bash -ansible-playbook -i inventory.ini ping.yml [--connection=local] +ansible-playbook -i inventory.ini [--connection=local] [--ask-become] ping.yml ``` Note that `inventory.ini` is not included in the repo. @@ -15,6 +15,6 @@ Note that `inventory.ini` is not included in the repo. ## Inventory example ```ini -[od-hosts] +[odhosts] 192.168.0.1 ``` diff --git a/desktop.yml b/desktop.yml new file mode 100644 index 0000000..ef17e2a --- /dev/null +++ b/desktop.yml @@ -0,0 +1,12 @@ +- name: Desktop environment + hosts: odhosts + tasks: + - name: Install KDE + become: true + ansible.builtin.apt: + pkg: + - kde-plasma-desktop + - gwenview + - kate + - okular + - dolphin diff --git a/ping.yml b/ping.yml index c5a8d8c..abcf5e8 100644 --- a/ping.yml +++ b/ping.yml @@ -1,5 +1,5 @@ - name: Ping - hosts: od-hosts + hosts: odhosts tasks: - name: Ping my hosts ansible.builtin.ping: