We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cacaa9a commit 64f7871Copy full SHA for 64f7871
src/ansiblelint/rules/args.py
@@ -76,6 +76,14 @@ def matchtask(
76
for key, value in task["action"].items()
77
if not key.startswith("__")
78
}
79
+ # https://github.com/ansible/ansible-lint/issues/2824
80
+ if loaded_module.resolved_fqcn == "ansible.builtin.async_status":
81
+ module_args["_async_dir"] = "/tmp/ansible-async"
82
+ if loaded_module.resolved_fqcn == "ansible.builtin.service":
83
+ _logger.debug(
84
+ "Skipped service module validation as not being supported yet."
85
+ )
86
+ return []
87
88
with mock.patch.object(
89
mock_ansible_module, "AnsibleModule", CustomAnsibleModule
0 commit comments