👩💻 Join our community of thousands of amazing developers!
Now I have the following content in my test.yaml playbook. I want Ansible to write a file under /etc directory. When I execute it like the following, I get an error. Obviously, azureuser does not have permission to write out the file, so how do we do sudo in Ansible? You just have to pass … Continue reading "How to do sudo with Ansible"...