Re: [ansible-project] Configure callback mail

2022-03-22 Thread Frédéric GAUTHIER BESNARD
Ok, thanks, I understand now. But my ansible project is in docker container, so I need to intergrate postix in image. Thanks Le mardi 22 mars 2022 à 03:32:07 UTC+1, lee@gmail.com a écrit : > On Mon, Mar 21, 2022 at 9:05 PM Matt Martz wrote: > > > > The mail callback is intended to work wi

[ansible-project] Re: How to get desired data from JSON

2022-03-22 Thread dmc...@gmail.com
JSON isn't my strong point but I can pull out the individual elements and you wanted to create the msg. Hopefully this will help you to complete what you're trying to do. TASK [debug] ** ok: [lo

[ansible-project] Ansible: Can you register the Linux banner without logging in?

2022-03-22 Thread dmc...@gmail.com
I'm trying to capture the linux banner you see before you login to a Linux server - using Ansible. I don't want to login to the server, just get the banner. I was hoping to use register to save it, then use part of it's contents as a conditional for which tasks to run. Is this possible? I or

Re: [ansible-project] How ansible vault is safe when using scripts?

2022-03-22 Thread Abhijeet Kasurde
You can use this https://docs.ansible.com/ansible/latest/user_guide/vault.html?extIdCarryOver=true&sc_cid=701f201Css5AAC#storing-passwords-in-third-party-tools-with-vault-password-client-scripts On Tue, Mar 22, 2022 at 4:45 PM Stefan Hornburg (Racke) wrote: > On 22/03/2022 12:05, R Batchen w

Re: [ansible-project] How ansible vault is safe when using scripts?

2022-03-22 Thread Stefan Hornburg (Racke)
On 22/03/2022 12:05, R Batchen wrote: Hey, I dont understand how ansible vault is safe if i want to use in a script  i need to give ansible the file where the password  is saved in plain text.. so i dont get it i do get it being safe if i do a prompts for the password with --ask-vault-pass but

[ansible-project] How ansible vault is safe when using scripts?

2022-03-22 Thread R Batchen
Hey, I dont understand how ansible vault is safe if i want to use in a script i need to give ansible the file where the password is saved in plain text.. so i dont get it i do get it being safe if i do a prompts for the password with --ask-vault-pass but when i point to ansible using --vault-p