diff --git a/tasks/base.yml b/tasks/base.yml index 6169f3814d..f0c02886a4 100644 --- a/tasks/base.yml +++ b/tasks/base.yml @@ -1,7 +1,7 @@ --- - name: sshd_config - action: copy src=$item dest=/etc/ssh/sshd_config mode=600 + copy: src={{ item }} dest=/etc/ssh/sshd_config mode=600 first_available_file: - $sshd_config - ${files}/ssh/sshd_config.${ansible_fqdn}