diff --git a/ansible/inventory/hosts.yaml b/ansible/inventory/hosts.yaml index e9a75e1..bdf6317 100644 --- a/ansible/inventory/hosts.yaml +++ b/ansible/inventory/hosts.yaml @@ -7,6 +7,8 @@ all: lab: ansible_host: lab.balsillie.net ansible_os_family: Arch + ansible_user: ladmin + ansible_connection: ssh nodes: node1: ansible_host: node1.balsillie.net diff --git a/ansible/roles/sshd/defaults/main.yml b/ansible/roles/sshd/defaults/main.yml index f9dc331..cf172ba 100644 --- a/ansible/roles/sshd/defaults/main.yml +++ b/ansible/roles/sshd/defaults/main.yml @@ -3,5 +3,4 @@ openssh_packages: - openssh openssh_service: sshd.service openssh_configuration_file: /etc/ssh/sshd_config -openssh_template_src: sshd_config_arch -openssh_template_mode: "644" \ No newline at end of file +openssh_configuration_mode: 0644 \ No newline at end of file