Good morking. Look for '-K' and '-k' flag.
Cheers. Javier On Thu, 12 Nov 2020 at 09:09, [email protected] <[email protected]> wrote: > My ansible server and playbook are running on a closed environment – So > basically everything is been accessed by know ssh-keys and I don’t need to > supply any user and password while running the playbooks. > > > > I need to create a new playbook that the first task requires to connect to > a server that is not part of my environment (customer environment) – Since > I cannot take the SSH key of the server, I need to force the task to ask > for the username , password , and the root password (become = ture) this in > order to connect the server – How can this be done as part of a task or > playbook ? > > Thanks > > -- > 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/9a30c05b-a80f-4463-abcb-7addcd8df3can%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/9a30c05b-a80f-4463-abcb-7addcd8df3can%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CALbe0QVBGsoog0%2Bdo4uTv_Gh3TDcMp7eOww7X%3DTdAyWGje7Wgg%40mail.gmail.com.
