-
Notifications
You must be signed in to change notification settings - Fork 772
Open
Labels
Description
Description
As stated in the build file for Arch, the PrintLastLog option is not included in the build anymore.
It should not be included in the config file anymore (as it is done for FreeBsd).
Reproduction steps
- hosts: servers
roles:
- devsec.hardening.ssh_hardening
become: yes
Current Behavior
task devsec.hardening.ssh_hardening : Create sshd_config and set permissions to root/600
fails with
:
failed to validate
~/.ansible/tmp/ansible-tmp-1754995678.4892628-3563925-162748103814462/.source line 164: Unsupported option PrintLastLog
Expected Behavior
No failure
OS / Environment
Target os : arch linux
Ansible Version
ansible [core 2.18.7]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/clabaut/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /homecrypt/clabaut/systerel/dt/cyber/hardening/dev-sec/.venv/lib/python3.12/site-packages/ansible
ansible collection location = /home/clabaut/.ansible/collections:/usr/share/ansible/collections
executable location = /homecrypt/clabaut/systerel/dt/cyber/hardening/dev-sec/.venv/bin/ansible
python version = 3.12.10 (main, May 30 2025, 05:37:37) [Clang 20.1.4 ] (/homecrypt/clabaut/systerel/dt/cyber/hardening/dev-sec/.venv/bin/python)
jinja version = 3.1.6
libyaml = True
Collection Version
devsec.hardening 10.3.1
Additional information
...