You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fatal: [chemocompile.mvz-eichsfeld]: FAILED! => {"msg": "The conditional check 'ansible_facts.packages['libpam-modules'][0].version is version('1.4.0', '<')' failed. The error was: name 'PEP440Version' is not defined\n\nThe error appears to be in '/home/mps/offsite_ithaca/playbooks/chemocompile/collections/ansible_collections/devsec/hardening/roles/os_hardening/tasks/pam_debian.yml': line 32, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n block:\n - name: Configure tally2\n ^ here\n"}
Why is this version check set on lower than 1.40?
The current latest release seems to be 1.5.2-6.
Our System version is 1.4.0-11ubuntu2.3.
This forces us to deactivate the libpam configuration for the moment which is not ideal.
Let me know if you need more info.
Thanking you in advance for the support. 😉
Reproduction steps
Run the collection with default settings on Ubuntu 22.04 with libpam version `1.4.0-11ubuntu2.3`.
Current Behavior
TASK [devsec.hardening.os_hardening : Configure tally2] ******************************************************************************************************************************************************************************************************
fatal: [chemocompile.mvz-eichsfeld]: FAILED! => {"msg": "The conditional check 'ansible_facts.packages['libpam-modules'][0].version is version('1.4.0', '<')' failed. The error was: name 'PEP440Version' is not defined\n\nThe error appears to be in '/home/mps/offsite_ithaca/playbooks/chemocompile/collections/ansible_collections/devsec/hardening/roles/os_hardening/tasks/pam_debian.yml': line 32, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n block:\n - name: Configure tally2\n ^ here\n"}
Description
When running the os.hardening playbook with default configuration, the step:
Throw the followring error:
Why is this version check set on lower than 1.40?
The current latest release seems to be
1.5.2-6
.Our System version is
1.4.0-11ubuntu2.3
.This forces us to deactivate the libpam configuration for the moment which is not ideal.
Let me know if you need more info.
Thanking you in advance for the support. 😉
Reproduction steps
Run the collection with default settings on Ubuntu 22.04 with libpam version `1.4.0-11ubuntu2.3`.
Current Behavior
TASK [devsec.hardening.os_hardening : Configure tally2] ******************************************************************************************************************************************************************************************************
fatal: [chemocompile.mvz-eichsfeld]: FAILED! => {"msg": "The conditional check 'ansible_facts.packages['libpam-modules'][0].version is version('1.4.0', '<')' failed. The error was: name 'PEP440Version' is not defined\n\nThe error appears to be in '/home/mps/offsite_ithaca/playbooks/chemocompile/collections/ansible_collections/devsec/hardening/roles/os_hardening/tasks/pam_debian.yml': line 32, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n block:\n - name: Configure tally2\n ^ here\n"}
Expected Behavior
TASK [devsec.hardening.os_hardening : Configure tally2] ******************************************************************************************************************************************************************************************************
ok: [MY_HOST]
OS / Environment
Ubuntu 22.04.2 LTS
Linux chemocompile-mvz-eichsfeld 5.15.0-70-generic #77-Ubuntu SMP Tue Mar 21 14:02:37 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Ansible Version
Collection Version
Additional information
...
The text was updated successfully, but these errors were encountered: