Looks like you are missing the entire start of a playbook. Is this a role or an include? If not need to set up the header section (hosts, connection, gather_facts, etc) and tasks section.
On Tue, Jun 20, 2023, 8:44 AM Himanshu Kaushik <[email protected]> wrote: > Hi, > > Greetings! > > Can anyone please help me if my playbook is correct or not. > Also, please help it correct and it should run / execute correctly and it > should make the necessary changes in the RHEL8 slave VM and make the > required changes and do the required updates as mentioned in the tasks 1.1, > 2.1, 3.1 etc. > > Please check the playbook in the attachment in below link: > Ansible-cis_rhel8_testing.yml > <https://github.com/himanshukaushik16/ansible/blob/main/cis_rhel8_testing.yml> > > please find the links that I have taken for references below: > https://github.com/ansible-lockdown/RHEL8-CIS > https://github.com/alivx/CIS-Ubuntu-20.04-Ansible > > Any help would be deeply appreciated. > > Thanks. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/956f5c99-49a4-428c-9a79-689e8346b41bn%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/956f5c99-49a4-428c-9a79-689e8346b41bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEcFzYxdVsZKr7eE0fWAyXJVaYSjHGKfiTs%2Bd%2BPZ5jj6psUw4Q%40mail.gmail.com.
