mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Remove redundant "state" validity check.
This commit is contained in:
@@ -116,9 +116,6 @@ def cloud_load_balancer_ssl(module, loadbalancer, state, enabled, private_key,
|
||||
else:
|
||||
certificate = certificate.strip()
|
||||
|
||||
if state not in ('present', 'absent'):
|
||||
module.fail_json(msg="State must be either 'present' or 'absent'.")
|
||||
|
||||
attempts = wait_timeout / 5
|
||||
|
||||
# Locate the load balancer.
|
||||
|
||||
Reference in New Issue
Block a user