Compare commits
3 Commits
fdc437c60f
...
0548f903a8
Author | SHA1 | Date | |
---|---|---|---|
0548f903a8 | |||
873cf1446e | |||
92d3178d90 |
@ -1,4 +1,6 @@
|
||||
---
|
||||
|
||||
# connection
|
||||
|
||||
ansible_connection: ssh
|
||||
ansible_become_method: sudo
|
@ -1,8 +1,10 @@
|
||||
---
|
||||
|
||||
# common
|
||||
# connection
|
||||
|
||||
ansible_user: ladmin
|
||||
ansible_become_user: ladmin
|
||||
ansible_os_family: Arch
|
||||
|
||||
# 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:
|
||||
children:
|
||||
hosts:
|
||||
server:
|
||||
ansible_host: server.balsillie.net
|
||||
ansible_os_family: Arch
|
||||
lab:
|
||||
ansible_host: lab.balsillie.net
|
||||
ansible_os_family: Arch
|
||||
ansible_user: ladmin
|
||||
hypervisors:
|
||||
hosts:
|
||||
server:
|
||||
ansible_host: server.balsillie.net
|
||||
lab:
|
||||
ansible_host: lab.balsillie.net
|
||||
nodes:
|
||||
node1:
|
||||
ansible_host: node1.balsillie.net
|
||||
node2:
|
||||
ansible_host: node2.balsillie.net
|
||||
node3:
|
||||
ansible_host: node3.balsillie.net
|
||||
hosts:
|
||||
node1:
|
||||
ansible_host: node1.balsillie.net
|
||||
node2:
|
||||
ansible_host: node2.balsillie.net
|
||||
node3:
|
||||
ansible_host: node3.balsillie.net
|
||||
guests:
|
||||
router:
|
||||
ansible_host: router.balsillie.net
|
||||
hosts:
|
||||
router:
|
||||
ansible_host: router.balsillie.net
|
||||
workstations:
|
||||
lat5420:
|
||||
ansible_host: lat5420.balsillie.net
|
||||
sff:
|
||||
ansible_host: sff.balsillie.net
|
||||
bridie:
|
||||
ansible_host: bridie.balsillie.net
|
||||
hosts:
|
||||
lat5420:
|
||||
ansible_host: lat5420.balsillie.net
|
||||
sff:
|
||||
ansible_host: sff.balsillie.net
|
||||
bridie:
|
||||
ansible_host: bridie.balsillie.net
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: install openssh arch
|
||||
ansible.general.pacman:
|
||||
community.general.pacman:
|
||||
name: "{{ openssh_packages }}"
|
||||
state: latest
|
||||
update_cache: true
|
||||
|
Loading…
Reference in New Issue
Block a user