ansible AttributeError: 'list' object has no attribute ...
stackoverflow.com › questions › 45124730Jul 16, 2017 · To see the full traceback, use -vvv. The error was: AttributeError: 'list' object has no attribute 'startswith' fatal: [test-1]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""} msg: Unexpected failure during module execution. The code is: - name: Register env Type shell: facter configured_setup register: setup - name: foo tasks shell: { {some_script}} -t -a { {hosts}} -i { {inventory_hostname}} register: test when: setup.stdout == ...