diff --git a/ansible/group_vars/all.yaml b/ansible/group_vars/all.yaml index ed97d53..3080775 100644 --- a/ansible/group_vars/all.yaml +++ b/ansible/group_vars/all.yaml @@ -1 +1,4 @@ --- + +ansible_connection: ssh +ansible_become_method: sudo \ No newline at end of file diff --git a/ansible/host_vars/lab.yaml b/ansible/host_vars/lab.yaml index 8120458..00a280e 100644 --- a/ansible/host_vars/lab.yaml +++ b/ansible/host_vars/lab.yaml @@ -1,5 +1,9 @@ --- +# common + +ansible_become_user: ladmin + # sshd authorized_keys_file: lab_authorized_keys diff --git a/ansible/inventory/hosts.yaml b/ansible/inventory/hosts.yaml index bdf6317..5138b71 100644 --- a/ansible/inventory/hosts.yaml +++ b/ansible/inventory/hosts.yaml @@ -8,7 +8,6 @@ all: ansible_host: lab.balsillie.net ansible_os_family: Arch ansible_user: ladmin - ansible_connection: ssh nodes: node1: ansible_host: node1.balsillie.net