Closed agnivgit closed 2 years ago
Hello @agnivgit it looks like it is an compatibility issue with ansible 2.9.6
Ansible changed builtin names to fully-qualified collection name (FQCN) https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.10.html
I updated all tasks to fqcn yesterday for future compatibility. I will have a look on it.
As workaround for ansible 2.9 you can use Version 1.0.2 which does not contain fqcn names.
git clone -b 1.0.2 https://github.com/florianutz/ubuntu2004_cis.git
Hello @agnivgit I restored ansible 2.9 compatibility because Ubuntu 20.04 comes with this version. Can you please verify if main
branch works for you again?
@florianutz Really appreciate your help on this. Yes , the main branch is working perfectly fine now
@agnivgit thank you for reporting and retesting. I use Ansible from a central system and always install via pip. I had completely forgotten that the official Ubuntu package is still an older version. Of course, it makes no sense to be incompatible with the version supplied.
Hello @florianutz and all , Getting an issue recently however it was not there few days back --
Describe the bug We have created a harden.yml file within /etc/ansible like below -
While running the playbook using this yml getting error -
ansible-playbook /etc/ansible/harden.yml
To Reproduce Steps to reproduce the behavior:
Expected behavior We should not receive any syntax error. This code worked on 15th Mar. So recently some changes happened to this repo.
Software