Hi list, I am new to this Ansible world. I am using a playbook from sandersv32/cis rhel-7-ansible section-5.2.2 which is giving me an error "VARIABLE NOT DEFINED'. Here is the task I am running
-name: 5.2.2 Enable auditd Service (Scored) shell: systemctl is-enabled auditd.service register: section5_2_2 -debug var=section5_2_2.stdout ignore_errors: True tags: - scored - section5.2 - section5.2.2 - name: 5.2.2 Enable auditd Service (Scored) service: > name=auditd enabled=yes state=running when: "'enabled' not in section5_2_2.stdout" tags: - scored - section5.2 - section5.2.2 This is the result, if I can get some help resolving this , will appreciate it <https://lh3.googleusercontent.com/-kbkSvrV98Wk/WqK8bEA-V3I/AAAAAAAAGJ0/LXRQ0VK-pYgzz4pQvNBEKbXEl6Zr8t8QgCLcBGAs/s1600/variable.JPG> Sincerely ZS -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/382e4dca-3358-4fdb-9cbd-7b5f5f02a79b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.