Merge pull request #5191 from AlanCoding/tower_group_id

Make tower_group idempotent

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-11-21 04:26:16 +00:00
committed by GitHub
2 changed files with 60 additions and 5 deletions

View File

@@ -49,7 +49,6 @@ options:
description:
- The source to use for this group.
choices: ["manual", "file", "ec2", "rax", "vmware", "gce", "azure", "azure_rm", "openstack", "satellite6" , "cloudforms", "custom"]
default: manual
type: str
source_regions:
description:
@@ -127,15 +126,15 @@ def main():
credential=dict(),
source=dict(choices=["manual", "file", "ec2", "rax", "vmware",
"gce", "azure", "azure_rm", "openstack",
"satellite6", "cloudforms", "custom"], default="manual"),
"satellite6", "cloudforms", "custom"]),
source_regions=dict(),
source_vars=dict(),
instance_filters=dict(),
group_by=dict(),
source_script=dict(),
overwrite=dict(type='bool', default=False),
overwrite_vars=dict(type='bool', default=False),
update_on_launch=dict(type='bool', default=False),
overwrite=dict(type='bool'),
overwrite_vars=dict(type='bool'),
update_on_launch=dict(type='bool'),
state=dict(choices=['present', 'absent'], default='present'),
)