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,27 +1,28 @@
|
|||||||
all:
|
all:
|
||||||
children:
|
children:
|
||||||
hosts:
|
hypervisors:
|
||||||
server:
|
hosts:
|
||||||
ansible_host: server.balsillie.net
|
server:
|
||||||
ansible_os_family: Arch
|
ansible_host: server.balsillie.net
|
||||||
lab:
|
lab:
|
||||||
ansible_host: lab.balsillie.net
|
ansible_host: lab.balsillie.net
|
||||||
ansible_os_family: Arch
|
|
||||||
ansible_user: ladmin
|
|
||||||
nodes:
|
nodes:
|
||||||
node1:
|
hosts:
|
||||||
ansible_host: node1.balsillie.net
|
node1:
|
||||||
node2:
|
ansible_host: node1.balsillie.net
|
||||||
ansible_host: node2.balsillie.net
|
node2:
|
||||||
node3:
|
ansible_host: node2.balsillie.net
|
||||||
ansible_host: node3.balsillie.net
|
node3:
|
||||||
|
ansible_host: node3.balsillie.net
|
||||||
guests:
|
guests:
|
||||||
router:
|
hosts:
|
||||||
ansible_host: router.balsillie.net
|
router:
|
||||||
|
ansible_host: router.balsillie.net
|
||||||
workstations:
|
workstations:
|
||||||
lat5420:
|
hosts:
|
||||||
ansible_host: lat5420.balsillie.net
|
lat5420:
|
||||||
sff:
|
ansible_host: lat5420.balsillie.net
|
||||||
ansible_host: sff.balsillie.net
|
sff:
|
||||||
bridie:
|
ansible_host: sff.balsillie.net
|
||||||
ansible_host: bridie.balsillie.net
|
bridie:
|
||||||
|
ansible_host: bridie.balsillie.net
|
@ -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