Hi Team,
i would like to run this cmd with sudo with vcf password how i can run the
cmd with vcf user and password ?
how i can achieve this ? i am not getting proper answer from the google
Playbook:
---
- name: sddc_health
hosts: sddc_mgr
tasks:
- name: heleth check
command: sudo /opt/vmware/sddc-support/sos --health-check
host file
sddc_mgr ansible_user=vcf ansible_password='test1234!@#$'
ansible_ssh_host=10.47.20.4
--
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/606d7f28-c058-47e5-b176-d4d1931ce3a9n%40googlegroups.com.