# how to use the 'local_action' module to list files locally # this is not working !!! # https://www.middlewareinventory.com/blog/run-ansible-playbook-locally/ --- - name: "03 - Playing with Ansible - using local_action module" tasks: - name: "just execute a ls -lrt command" local_action: shell ls -lrt register: "output" - debug: var=output.stdout_lines ...