Conflicting action statement in ansible
Here is the problem, you have mixed up two tasks into one: — – hosts: webhost sudo: yes connection: ssh tasks: – name: debuging module shell: ps aux register: output – name: show the value of output debug: var=output And out put of the playbook will be like this: PLAY [all] ********************************************************************* TASK [setup] ******************************************************************* … Read more