Skip to content

Commit

Permalink
commented the module conditionals
Browse files Browse the repository at this point in the history
This will be added after further tests
  • Loading branch information
sumanth-lingappa committed Aug 16, 2023
1 parent d8fab1f commit c8c8be0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions plugins/module_utils/module_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@ def __init__(self, resource_name, supports_check_mode=True):
self.module = AnsibleModule(
argument_spec=argument_spec,
supports_check_mode=supports_check_mode,
mutually_exclusive=[
("nitro_auth_token", "nitro_user"),
("nitro_auth_token", "nitro_pass"),
],
required_together=[
("nitro_user", "nitro_pass"),
],
required_one_of=[
("nitro_auth_token", "nitro_user"),
("nitro_auth_token", "nitro_pass"),
],
# mutually_exclusive=[
# ("nitro_auth_token", "nitro_user"),
# ("nitro_auth_token", "nitro_pass"),
# ],
# required_together=[
# ("nitro_user", "nitro_pass"),
# ],
# required_one_of=[
# ("nitro_auth_token", "nitro_user"),
# ("nitro_auth_token", "nitro_pass"),
# ],
)

self.diff_dict = {}
Expand Down

0 comments on commit c8c8be0

Please sign in to comment.