The following state, when run, requires the root password (as expected) 
then prints:

Using /etc/ansible/ansible.cfg as config file
SUDO password: 

PLAYBOOK: install_stuff.yml 
****************************************************
1 plays in install_stuff.yml

PLAY RECAP 
*********************************************************************


I'm expecting it to either state that some states have passed or failed. 
What have I got wrong?

---
- hosts: hostname
  become: true
  become_user: root
  become_method: su
  tasks:
  - yum:
      name: sl
      state: latest

-- 
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/e2ddab7a-d8f2-422a-b374-441b68fc5ea4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to