--- - hosts: whatever tasks: - name: hello world action: debug msg="Hello!" - name: this should be fine too action: file state=touch mode=0644 dest=./wherever