Hi,

Evan coming to your reply regarding the header section (hosts, connection, 
gather_facts, etc) and tasks section. this all I've included in another 
playbook and calling this bigger playbook from that test playbook. so, 
basically I've included the header section and everything in a small 
playbook also, I've used  ansible.builtin.include: 
module and included this bigger playbook (i.e. 
https://github.com/himanshukaushik16/ansible/blob/main/cis_rhel8_testing.yml) 
in the smaller playbook.

So, I'm actually looking for what I can do in this playbook. I've checked 
the indentation and it's correct but still getting error for indentation. 
can anyone please look into this and help me out.


Dick thanks buddy but I guess I'm facing this issue not any specific error 
because it's showing indentation error and sometimes it's something else 
but my question is how can I correct this playbook and how can I get the 
report and see the changes done by running this playbook. It would be so 
great of you if you can help me with this.
On Tuesday, June 20, 2023 at 10:18:44 PM UTC+5:30 Dick Visser wrote:

> On Tue, 20 Jun 2023 at 15:44, Himanshu Kaushik <[email protected]> 
> wrote:
>
>>
>> Can anyone please help me if my playbook is correct or not.
>>
>
> That totally depends on what your interpretation is of "correct". 
> I doubt posting a 2000 line playbook and asking if it "is correct" is 
> going to get a useful response.
> I'm definitely not going to go through it :p
>
>  
>
>> 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.
>>
>  
> This list is more geared towards specific problems related to ansible. You 
> seem to be looking for some high level patching strategy, which is outside 
> the scope of this list (I think).
> It's better to come up with specific questions, such as an error that you 
> don't understand, a task doesn't do what you expect, etc.
>
> Dick
>

-- 
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/efeca963-a19e-4e79-b290-f799be156521n%40googlegroups.com.

Reply via email to