I've read the docs and it seems like all of them point me to coding the p/w
either on the CLI or in group vars, but I want to do this
---
- hosts: server
gather_facts: no
tasks:
- name: Create a file in the server /etc file system
file:
path: /etc/test.txt
state: touch
become: yes
become_password: mySecretpw # this does NOT work, what should?
--
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/88720cab-1dc7-4696-9828-f1a3b4bdbebd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.