Hello,
I have the following relatively simple playbook. It works as expected when
I don't include the "register: inv_result" entry...
---
- hosts: localhost
gather_facts: False
tasks:
- script: "./refreshinventory.sh"
register: inv_result
...however with the register line added I get the following error:
ERROR: multiple actions specified in task: 'script' and 'register
> inv_result'
...it is as if it does not recognise the 'register' keyword. Could you
please let me know if I am doing something wrong or what the issue might be.
Cheers
Neil
--
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/e1f26797-9bf1-4fc7-9e42-e68bac521a6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.