On 18. nov. 2016 12:49, [email protected] wrote:
   - name: Subscribing a new channel
     shell: sh -c "rhnreg_ks --activationkey 1-vblock20161026"
     shell: sh -c "rhnreg_ks --activationkey 1-vblock20161026 --force"

One task can only have one module.
You can add a "- name" to the last shell module or add a - in front of the shell module.

--
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/5191b073-e62a-d8fb-b2c0-2c38538eb902%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to