Hey,

I am new with Ansible, trying to set up Ansible, so it won't require 
password, so

- I have bootstrap role 
<https://github.com/SimonHryszko/IaC/blob/master/roles/bootstrap/tasks/main.yml>
 
what after success run should let Ansible run any action without password
- When run Ansible it throws error 'sudo: a password is required'
- I can log in manually and run command like `sudo -l` or `sudo echo work` 
without password prompt
- when add `--ask-become-pass` work fine (with typing manually, pass ofc)
- I ask Ansible to use username 'groovy' see here 
<https://github.com/SimonHryszko/IaC/blob/master/ansible.cfg#L4> 
ansible.cfg file

I believe there is misconception or stupid bug, but cannot figure out myself
Link to IaC repo: https://github.com/SimonHryszko/iac


Thanks in advance!
Simon

-- 
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/003602d7-c6a5-4995-90fa-a2550c67ad3bn%40googlegroups.com.

Reply via email to