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