feat: desktop playbook

This commit is contained in:
Ivan R. 2024-01-13 16:51:44 +05:00
parent e2d7ec1ae3
commit bd301e2e91
Signed by: lumin
GPG key ID: 927D3132247BDE4E
3 changed files with 15 additions and 3 deletions

View file

@ -6,7 +6,7 @@ A set of ansible scripts to configure my system.
## Example ## Example
```bash ```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. 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 ## Inventory example
```ini ```ini
[od-hosts] [odhosts]
192.168.0.1 192.168.0.1
``` ```

12
desktop.yml Normal file
View file

@ -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

View file

@ -1,5 +1,5 @@
- name: Ping - name: Ping
hosts: od-hosts hosts: odhosts
tasks: tasks:
- name: Ping my hosts - name: Ping my hosts
ansible.builtin.ping: ansible.builtin.ping: