On 18. nov. 2016 16:16, [email protected] wrote:
Added like below , still am getting error :(
Have you read the error message?
- name: Subscribing a new channel
shell: sh -c "rhnreg_ks --activationkey 1-vblock20161026"
- name: Subscribing a new channel forcefully
shell: sh -c "rhnreg_ks --activationkey 1-vblock20161026 --force"
TASK [I am waiting for server to come back!]
***********************************
ok: [ccltstftsmrk1 -> localhost]
TASK [Subscribing a new channel]
***********************************************
fatal: [ccltstftsmrk1]: FAILED! => {"changed": true, "cmd": "sh -c
\"rhnreg_ks --activationkey 1-vblock20161026\"", "delta": "0:00:00.272494",
"end": "2016-11-18 10:13:52.624698", "failed": true, "rc": 1, "start":
"2016-11-18 10:13:52.352204", "stderr": "", "stdout": "You must be root to
run /usr/sbin/rhnreg_ks", "stdout_lines": ["You must be root to run
/usr/sbin/rhnreg_ks"], "warnings": []}
The error message say "You must be root to run /usr/sbin/rhnreg_ks"
--
Kai Stian Olstad
--
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/10c43a9d-8c7c-9a51-89c5-c4cb5ba2e9ee%40olstad.com.
For more options, visit https://groups.google.com/d/optout.