From a5c9d97e18683f0fdf9769d94ba174c72e2d093c Mon Sep 17 00:00:00 2001 From: Logan V Date: Sun, 17 Jun 2018 14:34:16 -0500 Subject: [PATCH] Allow config_template to be loaded as a role Currently when this repo loaded as a role instead of copied to plugins paths, config_template tasks fail because: FAILED! => {"msg": "module (config_template) is missing interpreter line"} This is because ansible searches for action plugins in the action_plugins/ path of roles and plays instead of action/. See https://docs.ansible.com/ansible/2.5/plugins/action.html#enabling-action-plugins for information on this. By simply symlinking action_plugins -> action we can make this work in either scenario. Change-Id: I59625e358e220b83d4a2580ac5f99bc11751ebdd --- action_plugins | 1 + 1 file changed, 1 insertion(+) create mode 120000 action_plugins diff --git a/action_plugins b/action_plugins new file mode 120000 index 0000000..aef476d --- /dev/null +++ b/action_plugins @@ -0,0 +1 @@ +action \ No newline at end of file