[test@ip-172-31-1-143 opt]$ ansible webservers -m yum -a 
'name=/opt/mysql/mysql80-community-release-el7-2.noarch.rpm state=present'
172.31.13.61 | FAILED! => {
    "changed": false,
    "failed": true,
    "msg": "You need to be root to perform this command.\n",
    "rc": 1,
    "results": [
        "Loaded plugins: extras_suggestions, langpacks, priorities, 
update-motd\n"
    ]
}

-- 
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/71cff60d-4f24-4d53-92ee-db54063973ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to