mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-17 06:11:30 +00:00
homectl, maven_artifact: removed redundant comments (#10620)
* homectl, maven_artifact: removed redundant comments * stacki_hosts: one more redundant comment
This commit is contained in:
@@ -269,7 +269,7 @@ def main():
|
||||
for param in ['appliance', 'rack', 'rank', 'prim_intf', 'prim_intf_ip', 'network', 'prim_intf_mac']:
|
||||
if not module.params[param]:
|
||||
missing_params.append(param)
|
||||
if len(missing_params) > 0: # @FIXME replace with required_if
|
||||
if len(missing_params) > 0:
|
||||
module.fail_json(msg="missing required arguments: {0}".format(missing_params))
|
||||
|
||||
stacki.stack_add(result)
|
||||
|
||||
Reference in New Issue
Block a user