Skip to content
Snippets Groups Projects

Master

Closed Peter Muryshkin requested to merge (removed):master into master
Files
6
@@ -2,10 +2,11 @@
# This file handles upload of your ssh key and the creation of the VM
# Upload of your SSH Key
- name: Uploading ssh key
cs_sshkeypair:
- cs_sshkeypair:
name: my_sshkey
public_key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"
delegate_to: localhost
# Create a VM
- name: Create a VM
@@ -17,4 +18,4 @@
ssh_key: my_sshkey
zone: "{{ zone_name }}"
networks: my_network
register: vm1
\ No newline at end of file
register: vm1
Loading