From 244a9a83aa165fed0468c8727a25540aa0c57929 Mon Sep 17 00:00:00 2001 From: David Passante Date: Wed, 13 Mar 2019 19:06:44 +0100 Subject: [PATCH] cs_iso: fix missing param "is_public" (#53740) * cs_iso: fix missing param "is_public" * add changelog fragment --- changelogs/fragments/53738-cs_iso-missing_is_public.yml | 2 ++ lib/ansible/modules/cloud/cloudstack/cs_iso.py | 1 + test/sanity/validate-modules/ignore.txt | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/53738-cs_iso-missing_is_public.yml 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