---- hosts: localhost gather_facts: False tasks: - script: "./refreshinventory.sh" register: inv_result
ERROR: multiple actions specified in task: 'script' and 'register inv_result'