Compare commits
3 Commits
fdc437c60f
...
0548f903a8
Author | SHA1 | Date | |
---|---|---|---|
0548f903a8 | |||
873cf1446e | |||
92d3178d90 |
@ -1,4 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
# connection
|
||||||
|
|
||||||
ansible_connection: ssh
|
ansible_connection: ssh
|
||||||
ansible_become_method: sudo
|
ansible_become_method: sudo
|
@ -1,8 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# common
|
# connection
|
||||||
|
|
||||||
|
ansible_user: ladmin
|
||||||
ansible_become_user: ladmin
|
ansible_become_user: ladmin
|
||||||
|
ansible_os_family: Arch
|
||||||
|
|
||||||
# sshd
|
# sshd
|
||||||
|
|
||||||
|
7
ansible/host_vars/server.yaml
Normal file
7
ansible/host_vars/server.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# connection
|
||||||
|
|
||||||
|
ansible_user: michael
|
||||||
|
ansible_become_user: michael
|
||||||
|
ansible_os_family: Arch
|
@ -1,14 +1,13 @@
|
|||||||
all:
|
all:
|
||||||
children:
|
children:
|
||||||
|
hypervisors:
|
||||||
hosts:
|
hosts:
|
||||||
server:
|
server:
|
||||||
ansible_host: server.balsillie.net
|
ansible_host: server.balsillie.net
|
||||||
ansible_os_family: Arch
|
|
||||||
lab:
|
lab:
|
||||||
ansible_host: lab.balsillie.net
|
ansible_host: lab.balsillie.net
|
||||||
ansible_os_family: Arch
|
|
||||||
ansible_user: ladmin
|
|
||||||
nodes:
|
nodes:
|
||||||
|
hosts:
|
||||||
node1:
|
node1:
|
||||||
ansible_host: node1.balsillie.net
|
ansible_host: node1.balsillie.net
|
||||||
node2:
|
node2:
|
||||||
@ -16,9 +15,11 @@ all:
|
|||||||
node3:
|
node3:
|
||||||
ansible_host: node3.balsillie.net
|
ansible_host: node3.balsillie.net
|
||||||
guests:
|
guests:
|
||||||
|
hosts:
|
||||||
router:
|
router:
|
||||||
ansible_host: router.balsillie.net
|
ansible_host: router.balsillie.net
|
||||||
workstations:
|
workstations:
|
||||||
|
hosts:
|
||||||
lat5420:
|
lat5420:
|
||||||
ansible_host: lat5420.balsillie.net
|
ansible_host: lat5420.balsillie.net
|
||||||
sff:
|
sff:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: install openssh arch
|
- name: install openssh arch
|
||||||
ansible.general.pacman:
|
community.general.pacman:
|
||||||
name: "{{ openssh_packages }}"
|
name: "{{ openssh_packages }}"
|
||||||
state: latest
|
state: latest
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
Loading…
Reference in New Issue
Block a user