Skip to content

Commit

Permalink
Ignore set-property for systemd command (#3949)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbbr authored Dec 20, 2023
1 parent bd79581 commit d3ccc57
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/ansiblelint/rules/command_instead_of_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,14 @@ class CommandsInsteadOfModulesRule(AnsibleLintRule):

_executable_options = {
"git": ["branch", "log", "lfs", "rev-parse"],
"systemctl": ["--version", "kill", "set-default", "show-environment", "status"],
"systemctl": [
"--version",
"kill",
"set-default",
"set-property",
"show-environment",
"status",
],
"yum": ["clean"],
"rpm": ["--nodeps"],
}
Expand Down

0 comments on commit d3ccc57

Please sign in to comment.