summaryrefslogtreecommitdiff
path: root/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index 29e003c..4512804 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -73,7 +73,7 @@
- name: Ensure hostname is configured in /etc/hosts
ansible.builtin.template:
- src: "{{ playbook_dir }}/files/hosts.j2"
+ src: hosts.j2
dest: /etc/hosts
owner: root
group: root
@@ -135,7 +135,7 @@
- name: Ensure password based authentication is disabled
ansible.builtin.copy:
- src: "{{ playbook_dir }}/files/50-disable-password-auth.conf"
+ src: 50-disable-password-auth.conf
dest: "/etc/ssh/sshd_config.d/50-disable-password-auth.conf"
owner: root
group: root
@@ -145,7 +145,7 @@
- name: Ensure unattended upgrades config is installed
ansible.builtin.copy:
- src: "{{ playbook_dir }}/files/50unattended-upgrades"
+ src: 50unattended-upgrades
dest: "/etc/apt/apt.conf.d/50unattended-upgrades"
owner: root
group: root