All,
Hoping someone can point me in the right direction. Created fairly simply action plugin (more or less copied from one of the action plugins bundled with Ansible) and can’t seem to use it.
Playbook looks as follows:
- hosts: all
remote_user: automate
gather_facts: False
tasks: - name: test
sudo: yes
newaction: >
bits=4096
force=true
When I attempt to run the playbook I get the following error:
ERROR: newaction is not a legal parameter in an Ansible task or handler
My ansible.cfg has an action_plugin directive, as follows:
$ cat ~/.ansible.cfg | grep action
action_plugins = /home/j/ansible/custom_plugins
Any ideas on what I’m missing?