Hide Forgot
Description of problem: ]$ ansible-playbook -v -i some-playbook-with-find-task-devenvs.yml ERROR: find is not a legal parameter in an Ansible task or handler ]$ ansible-playbook --version ansible-playbook 1.9.4 configured module search path = None example playbook: --- - name: fix sudo sudo: yes gather_facts: no hosts: - OSEv3:children tasks: - name: Get Node Dir Path # dunno why find module not found find: paths="/openshift.local.config" patterns="node*" register: node_path
The find module was added in ansible 2.0. ;) https://docs.ansible.com/ansible/find_module.html "New in version 2.0" You can get version 2.0.0.x from updates-testing: dnf --enablerepo=updates-testing update ansible