Re: [ansible-project] Track list of failed/success tasks into a file.

2023-03-09 Thread Aharonu
Hi Vladimir Botka, Thanks for your response. I will go through doc ansible-runner. On Fri, 10 Mar 2023, 05:46 Vladimir Botka, wrote: > See https://ansible-runner.readthedocs.io/en/stable/ > > The artifacts will keep data to create the report. > > > -- > Vladimir Botka > -- You received this m

Re: [ansible-project] Track list of failed/success tasks into a file.

2023-03-09 Thread Vladimir Botka
See https://ansible-runner.readthedocs.io/en/stable/ The artifacts will keep data to create the report. -- Vladimir Botka -- 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, se

[ansible-project] Re: Track list of failed/success tasks into a file.

2023-03-09 Thread Aharonu
Just to add, Playbook will execute to static inventory host/cluster list over the loop. On Fri, 10 Mar 2023, 05:36 Aharonu, wrote: > Dear All, > > I have static inventory which contains more then 100 hosts/cluster. > > While running ansible playbook, there is a chance any of host/cluster got >

[ansible-project] Track list of failed/success tasks into a file.

2023-03-09 Thread Aharonu
Dear All, I have static inventory which contains more then 100 hosts/cluster. While running ansible playbook, there is a chance any of host/cluster got failed to execute the task due to some reason. We have to capture those this details to one file(CSV) along with other required data. Could anyo

Re: [ansible-project] read password from a variable

2023-03-09 Thread Avinash Jadhav
You can try this one - name: Prompt for password vars_prompt: - name: my_pwd prompt: "Enter your password" private: true - name: Source the environment variable file shell: "source ./myenv" - name: Retrieve password from Ansible Vault shell: "ansible-vault view my_password

Re: [ansible-project] read password from a variable

2023-03-09 Thread dulhaver via Ansible Project
I am not sure, but am wondering whether maybe the remote host needs to be able to import the required Python library (pexpect) for this to work ... can that be it? > On 03/09/2023 6:58 PM CET Veera wrote: > > > While sourcing a profile file , I have to enter a password in my play. >

[ansible-project] read password from a variable

2023-03-09 Thread Veera
While sourcing a profile file , I have to enter a password in my play. *my_pwd: hiddenpass* *- name: source the environment variable file * * shell: " source ./myenv*" while executing i am prompted with a password so I am using the expect module to pass the password *name: Case insensi