Skip to content

Commit

Permalink
Merge 438dcc2 into 1410540
Browse files Browse the repository at this point in the history
  • Loading branch information
xFuture603 authored Dec 14, 2020
2 parents 1410540 + 438dcc2 commit 3e75efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/icinga_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def main():
# When deleting objects, only the name is necessary, so we cannot use
# required=True in the argument_spec. Instead we define here what is
# necessary when state is present
required_if = [("state", "present", ["command"])]
required_if = [("state", "present", ["object_name"])]

# Define the main module
module = AnsibleModule(
Expand Down

0 comments on commit 3e75efe

Please sign in to comment.