[ansible-project] How to set ansible facts to logs

2024-01-04 Thread Siddharth Thakur
I have a scenario where I am executing my Ansible playbook with Jenkins. I have to save the execution output in a txt file which the ansible itself should generate. The naming convention of the log file should be like _< Jenkins build number >.json. The log should contain the exact status of t

[ansible-project] Help Using an .stdout as a VAR Used in a WHEN Condition

2024-01-04 Thread Symian Army
Hello. New to this wonderful Ansible thing. I am a database guy. I have an Oracle process that spits out a file that looks like this (but the value could be different at each run): [oracle@lnx0016 scripts]$ more /tmp/impact.txt -12268.06 Then, within the same playbook, Ansible playbook parses

[ansible-project] error in asnible ""msg": "Failed to authenticate: Authentication failed: transport shut down or saw EOF""

2024-01-04 Thread mohamed mostafa
dears, Kindly help to solve this issue, i have the below error when run ad-hoc command "ios_ping " [mohamedlocalhost proj]$ ansible -m ios_ping 192.168.1.101 -a "dest=192.168.1.101" SSH password: [WARNING]: ansible-pylibssh not installed, falling back to paramiko 192.168.1.101 | FAILED! => {

Re: [ansible-project] How to set ansible facts to logs

2024-01-04 Thread Brian Coca
The simplest way would be a callback, the `tree` callback already does something similar, I don't know if any of the existing do exactly what you want, but it should be easy to modify the `tree` one to do so. -- -- Brian Coca (he/him/yo) -- You received this message because you are sub

[ansible-project] add the computer group in ou security group and give full permission

2024-01-04 Thread Nagesh sheregar
Hi team, do we have any playbook we can add the computer group in ou security group and give full permission -- 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 t

Re: [ansible-project] add the computer group in ou security group and give full permission

2024-01-04 Thread Dick Visser
We need a little more context... Sent from Gmail Mobile On Thu, 4 Jan 2024 at 17:57, Nagesh sheregar wrote: > Hi team, > > do we have any playbook we can add the computer group in ou security group > and give full permission > > -- > You received this message because you are subscribed to the

Re: [ansible-project] How to set ansible facts to logs

2024-01-04 Thread Siddharth Thakur
Can you share any web-link where I can find more information regarding tree and more details. On Thursday, January 4, 2024 at 9:29:56 PM UTC+5:30 Brian Coca wrote: > The simplest way would be a callback, the `tree` callback already does > something similar, I don't know if any of the existing do