move vars folders
This commit is contained in:
6
ansible/inventory/group_vars/all.yaml
Normal file
6
ansible/inventory/group_vars/all.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
|
||||
# connection
|
||||
|
||||
ansible_connection: ssh
|
||||
ansible_become_method: sudo
|
12
ansible/inventory/host_vars/lab.yaml
Normal file
12
ansible/inventory/host_vars/lab.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
# connection
|
||||
|
||||
ansible_user: ladmin
|
||||
ansible_become_user: ladmin
|
||||
ansible_os_family: Arch
|
||||
|
||||
# sshd
|
||||
|
||||
authorized_keys_file: lab_authorized_keys
|
||||
openssh_configuration_src: sshd_config_arch
|
7
ansible/inventory/host_vars/server.yaml
Normal file
7
ansible/inventory/host_vars/server.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
|
||||
# connection
|
||||
|
||||
ansible_user: michael
|
||||
ansible_become_user: michael
|
||||
ansible_os_family: Arch
|
Reference in New Issue
Block a user