diff --git a/changelogs/fragments/53738-cs_iso-missing_is_public.yml b/changelogs/fragments/53738-cs_iso-missing_is_public.yml new file mode 100644 index 0000000000..33773cf549 --- /dev/null +++ b/changelogs/fragments/53738-cs_iso-missing_is_public.yml @@ -0,0 +1,2 @@ +bugfixes: + - cs_iso - Add the 'is_public' param into argument_spec to allow the registering of public iso. diff --git a/lib/ansible/modules/cloud/cloudstack/cs_iso.py b/lib/ansible/modules/cloud/cloudstack/cs_iso.py index cede97274f..3f3d76b9d8 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_iso.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_iso.py @@ -418,6 +418,7 @@ def main(): is_ready=dict(type='bool', default=False), bootable=dict(type='bool'), is_featured=dict(type='bool'), + is_public=dict(type='bool'), is_dynamically_scalable=dict(type='bool'), state=dict(choices=['present', 'absent'], default='present'), poll_async=dict(type='bool', default=True), diff --git a/test/sanity/validate-modules/ignore.txt b/test/sanity/validate-modules/ignore.txt index 4cd23e83f7..cd4476a461 100644 --- a/test/sanity/validate-modules/ignore.txt +++ b/test/sanity/validate-modules/ignore.txt @@ -98,7 +98,6 @@ lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py E335 lib/ansible/modules/cloud/centurylink/clc_server_snapshot.py E335 lib/ansible/modules/cloud/cloudstack/cs_cluster.py E326 lib/ansible/modules/cloud/cloudstack/cs_host.py E326 -lib/ansible/modules/cloud/cloudstack/cs_iso.py E323 lib/ansible/modules/cloud/cloudstack/cs_network.py E324 lib/ansible/modules/cloud/cloudstack/cs_network_offering.py E322 lib/ansible/modules/cloud/cloudstack/cs_network_offering.py E326