Setting up inventory for host specific vars

This commit is contained in:
2021-09-12 18:46:01 +02:00
parent 069e41d8df
commit dc00ca34d9
4 changed files with 8 additions and 5 deletions

2
ansible.cfg Normal file
View File

@@ -0,0 +1,2 @@
[defaults]
inventory = hosts

View File

@@ -14,9 +14,6 @@ flatpak_flatpaks:
com.github.micahflee.torbrowser-launcher:
state: present
remote: flathub
com.github.ransome1.sleek:
state: present
remote: flathub
com.spotify.Client:
state: present
remote: flathub

3
hosts Normal file
View File

@@ -0,0 +1,3 @@
[silverblue]
chapek9 ansible_connection=local
ice9 ansible_connection=local

View File

@@ -1,6 +1,7 @@
---
- name: "Silverblue"
hosts: "localhost"
- name: "Set up Silverblue workstation"
hosts:
- silverblue
connection: "local"
roles:
- flatpak