Use external volumes for OpenStack virtual machines
[integration.git] / deployment / noheat / infra-openstack / ansible / roles / openstack / create_devstack_hosts / tasks / create_host.yml
1 ---
2 - name: Create host
3   os_server:
4     state: present
5     name: "{{ host.name }}"
6     image: "{{ host.image }}"
7     flavor: "{{ host.flavor }}"
8     key_name: "{{ host.keypair }}"
9     network: "{{ host.network }}"
10     security_groups:
11       - "{{ host.securitygroup }}"
12     auto_ip: "{{ host.auto_ip | default(true) }}"
13     boot_from_volume: true
14     terminate_volume: true
15     volume_size: "{{ host.volume_size | default(10) }}"