Hi All,
Could someone please help with spotting problem in my actions or confirm that there is a problem in Ansible.
Based on https://github.com/ansible/ansible/issues/6089
I’m trying to load action plugin from playbook’s relative directory “action_plugins”
tree
├── action_plugins
│ ├── category
│ │ └── extract.py
│ └── extract.py
└── test.yml
2 directories, 3 files
in test.yml:
- hosts: all tasks:
- extract: name=test
The result is
ERROR: extract is not a legal parameter in an Ansible task or handler
extract.py:
cat action_plugins/extract.py
#!/usr/bin/python