Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - name: launch a new instance
- tasks:
- - nova_compute:
- state: present
- login_username: user1
- login_password: Password123
- login_tenant_name: user1
- name: ansible_inst1
- auth_url: http://controller:35357/v2.0
- image_id: 47c2e674-7d25-430e-ace7-ea12b65edabf
- key_name: demo-key
- wait_for: 200
- flavor_id: 2
- auto_floating_ip: yes
- nics:
- - net-id: 71ae39ba-28a0-4635-baa7-8bdc28dac1ea
- meta:
- hostname: ansible_inst1
- group: ansible_group1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement