From aa7443481503b6bf4deeadeb69ccb15828cdc1d9 Mon Sep 17 00:00:00 2001 From: Reza Jelveh Date: Fri, 8 Dec 2017 16:02:11 +0100 Subject: [PATCH] allow smartos vmadm to create docker vms (#32819) --- lib/ansible/modules/cloud/smartos/vmadm.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/smartos/vmadm.py b/lib/ansible/modules/cloud/smartos/vmadm.py index abfeb72c7d..6560b9d768 100644 --- a/lib/ansible/modules/cloud/smartos/vmadm.py +++ b/lib/ansible/modules/cloud/smartos/vmadm.py @@ -78,6 +78,11 @@ options: required: false description: - Domain value for C(/etc/hosts). + docker: + required: false + description: + - Docker images need this flag enabled along with the I(brand) set to C(lx). + version_added: "2.5" filesystems: required: false description: @@ -607,7 +612,7 @@ def main(): ], 'bool': [ 'archive_on_delete', 'autoboot', 'debug', 'delegate_dataset', - 'firewall_enabled', 'force', 'indestructible_delegated', + 'docker', 'firewall_enabled', 'force', 'indestructible_delegated', 'indestructible_zoneroot', 'maintain_resolvers', 'nowait' ], 'int': [