magnum

magnum

Synopsis

Manage OpenStack magnum cluster templates.

Examples

#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
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.