aboutsummaryrefslogtreecommitdiff
path: root/roles/harden/tasks/harden.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/harden/tasks/harden.yaml')
-rw-r--r--roles/harden/tasks/harden.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/harden/tasks/harden.yaml b/roles/harden/tasks/harden.yaml
index cf60e95..fe1807a 100644
--- a/roles/harden/tasks/harden.yaml
+++ b/roles/harden/tasks/harden.yaml
@@ -8,7 +8,7 @@
- name: clean apt cache
apt:
- autoclean: yes
+ autoclean: true
- name: clear /etc/issue and /etc/motd
copy:
@@ -60,7 +60,7 @@
copy:
src: /etc/ssh/sshd_config
dest: "/etc/ssh/sshd_config.bak_{{ ansible_date_time.iso8601_basic }}"
- remote_src: yes
+ remote_src: true
- name: harden sshd_config
copy: