feat: desktop playbook
This commit is contained in:
parent
e2d7ec1ae3
commit
bd301e2e91
3 changed files with 15 additions and 3 deletions
|
@ -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
12
desktop.yml
Normal 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
|
2
ping.yml
2
ping.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue