Hi All, Is it possible to use ansible-vault with ad-hoc commands. Use case: I have not setup ssh key and I want to use ping module on target machine.
normal way if we have setup sshkey or pass the text password 1: ansible <target_hostname> -m ping [if ssh key configured] 2: ansible <target_hostname> -m ping --extra-vars "ansible_user=<username> ansible_password=<password>" But I want to do this with ansible-vault. Is it possible ? any help would be appreciated. Thanks & Regards Rajendra Rawat -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGvnwVFgUQ0Zmqfdsgi8vXbcGZCuf%3Dg0fDLrPbaBj82eaUyN2w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
