diff options
-rw-r--r-- | group_vars/internal | 2 | ||||
-rw-r--r-- | group_vars/routing | 1 | ||||
-rw-r--r-- | group_vars/server | 1 | ||||
-rw-r--r-- | group_vars/vms | 2 | ||||
-rw-r--r-- | hosts.yml | 11 |
5 files changed, 7 insertions, 10 deletions
diff --git a/group_vars/internal b/group_vars/internal new file mode 100644 index 0000000..80ad979 --- /dev/null +++ b/group_vars/internal @@ -0,0 +1,2 @@ +ansible_become_pass: "{{ mypass }}" +ansible_user: ansible diff --git a/group_vars/routing b/group_vars/routing new file mode 100644 index 0000000..a03e94e --- /dev/null +++ b/group_vars/routing @@ -0,0 +1 @@ +ansible_user: root diff --git a/group_vars/server b/group_vars/server new file mode 100644 index 0000000..a03e94e --- /dev/null +++ b/group_vars/server @@ -0,0 +1 @@ +ansible_user: root diff --git a/group_vars/vms b/group_vars/vms new file mode 100644 index 0000000..80ad979 --- /dev/null +++ b/group_vars/vms @@ -0,0 +1,2 @@ +ansible_become_pass: "{{ mypass }}" +ansible_user: ansible @@ -12,15 +12,10 @@ all: srv-samba.lan: {} srv-unifi2.lan: {} srv-supysonic.lan: {} - vars: - ansible_become_pass: "{{ mypass }}" - ansible_user: ansible server: hosts: hetzner: {} netcup: {} - vars: - ansible_user: root vms: hosts: pihole.lan: {} @@ -32,13 +27,9 @@ all: srv-samba.lan: {} srv-unifi2.lan: {} srv-supysonic.lan: {} - vars: - ansible_become_pass: "{{ mypass }}" - ansible_user: ansible +# srv-birde.lan: {} routing: hosts: hetzner: {} netcup: {} srv-birde.lan: {} - vars: - ansible_user: root |