fortinet-ansible-dev / ansible-galaxy-fortios-collection

GNU General Public License v3.0
84 stars 48 forks source link

I have created a yaml file which is pause.yml. I have created a playbook and when i am trying to execute the playbook , it is showing me an error : An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None fatal: [localhost]: FAILED! => {"msg": "Unsupported parameters for (ansible_collections.ansible.builtin.plugins.action.debug) module: seconds. Supported parameters include: msg, var, verbosity."} #261

Closed Sunny2609 closed 7 months ago

Sunny2609 commented 1 year ago

// This is the pause.yml file i have written .

JieX19 commented 1 year ago

Hi @Sunny2609

The error message " {"msg": "Unsupported parameters for (ansible_collections.ansible.builtin.plugins.action.debug) module: seconds " means the parameter 'seconds' is not supported in the module.

I checked the doc of ansible.builtin.debug module, https://docs.ansible.com/ansible/latest/collections/ansible/builtin/debug_module.html, you can see all the supported params here. ONLY msg, verbosity, and var are available in this module.

You may refer to https://www.ansiblepilot.com/articles/pause-execution-ansible-module-pause/, hope this helps.

JieX19 commented 7 months ago

Hi @Sunny2609

I will close the issue at this moment, marking it as resolved or completed. If you have any further questions or concerns, please feel free to reopen the ticket or create a new one.