aboutsummaryrefslogtreecommitdiff
path: root/roles/harden/tasks/harden.yaml
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-05-26 09:01:56 +0300
committerheqnx <root@heqnx.com>2025-05-26 09:01:56 +0300
commitf0386e1619ca5fe768972c2d835f998f5f6fed39 (patch)
tree39b1b1e207c3c9c51ba826224b8b74f7ebcbdb9d /roles/harden/tasks/harden.yaml
parenta529d1f47572e240118c453d87f06ddde1232e65 (diff)
downloadansible-playbooks-f0386e1619ca5fe768972c2d835f998f5f6fed39.tar.gz
ansible-playbooks-f0386e1619ca5fe768972c2d835f998f5f6fed39.zip
standardized booleans
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: