Hello,

I'm trying to run this ad-hoc command to install ntp package in a specific 
server:

ansible db -b -m yum -a "name=ntp state=present"

But I'm getting this error:

 | FAILED! => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python"
    },
    "changed": false,
    "failures": [
        "ntp No match for argument: ntp"
    ],
    "msg": "Failed to install some of the specified packages",
    "rc": 1,
    "results": []
}

I have checked the sintax at ansible docs and it seems to be ok.

Some idea?

Thanks!

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/83d98489-4cae-4ca7-8b6b-1fd5fd2fcdacn%40googlegroups.com.

Reply via email to