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
1.8.2, 1.8.3, 1.8.4 are failing while building packer image.
TASK [darkwizard242.cis_ubuntu_2004 : 1.8.2 | Ensure GDM login banner is configured (Automated) | Configure banner-message-enable if gdm3 installed] is failing because file does not exist (or installed by OS)
{"changed": false, "msg": "Destination /etc/gdm3/greeter.dconf-defaults does not exist !", "rc": 257}
Thank you for bringing this to my attention, I will try to get a fix in as time permits. In the meantime, as a workaround - please set the following vars in your playbook to avoid a failure:
---
- name: Example Playbook to apply cis_ubuntu_2004 rolehosts: localhost # or any grouping of hostsconnection: local # or 'ssh'become: yesgather_facts: trueroles:
- cis_ubuntu_2004vars:
ansible_python_interpreter: /usr/bin/python3ubuntu_2004_cis_section1_rule_1_8_2: falseubuntu_2004_cis_section1_rule_1_8_3: falseubuntu_2004_cis_section1_rule_1_8_4: false
1.8.2, 1.8.3, 1.8.4 are failing while building packer image.
TASK [darkwizard242.cis_ubuntu_2004 : 1.8.2 | Ensure GDM login banner is configured (Automated) | Configure banner-message-enable if gdm3 installed] is failing because file does not exist (or installed by OS)
ISSUE TYPE
ANSIBLE VERSION
STEPS TO REPRODUCE
Just run ansible against ubuntu 20.04.4
EXPECTED RESULTS
If file does not exist skip this test
ACTUAL RESULTS
Even file does not exist it tries to run it and fails. This file is not installed by OS pkg manager (apt)
I think this file is created AFTER OS is first booted but since we use packer to build it this file does not exist yet.
The text was updated successfully, but these errors were encountered: