Manage OpenStack magnum cluster templates.
#Create Swarm Template
- magnum:
action: 'template-present'
name: 'swarm-dev-test'
openrc_path: '/root/openrc'
insecure: True
keypair: 'testkey'
image: 'fedora-atomic-latest'
external_network: 'public'
dns_nameserver: '8.8.8.8'
flavor: 'm1.small'
docker_volume_size: 5
coe: 'swarm'
public: 'false'
#Change the DNS Nameserver
- magnum:
action: 'template-present'
name: 'swarm-dev-test'
openrc_path: '/root/openrc'
insecure: True
keypair: 'testkey'
image: 'fedora-atomic-latest'
external_network: 'public'
dns_nameserver: '8.8.4.4'
flavor: 'm1.small'
docker_volume_size: 5
coe: 'swarm'
public: 'false'
#Delete Template
- magnum:
action: 'template-absent'
name: 'swarm-dev-test'
openrc_path: '/root/openrc'
insecure: True
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.