|
|
@ -4,10 +4,10 @@
|
|
|
|
scaleway_compute:
|
|
|
|
scaleway_compute:
|
|
|
|
name: foobar
|
|
|
|
name: foobar
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
|
image: 857de28c-39ce-4b15-9389-b68d8bb1bb51
|
|
|
|
image: '{{ scaleway_image_id }}'
|
|
|
|
organization: 951df375-e094-4d26-97c1-ba548eeb9c42
|
|
|
|
organization: '{{ scaleway_organization }}'
|
|
|
|
region: par1
|
|
|
|
region: '{{ scaleway_region }}'
|
|
|
|
commercial_type: START1-S
|
|
|
|
commercial_type: '{{ scaleway_commerial_type }}'
|
|
|
|
wait: true
|
|
|
|
wait: true
|
|
|
|
|
|
|
|
|
|
|
|
register: server_creation_task
|
|
|
|
register: server_creation_task
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
- name: Patch user_data cloud-init configuration (Check)
|
|
|
|
- name: Patch user_data cloud-init configuration (Check)
|
|
|
|
check_mode: yes
|
|
|
|
check_mode: yes
|
|
|
|
scaleway_user_data:
|
|
|
|
scaleway_user_data:
|
|
|
|
region: par1
|
|
|
|
region: '{{ scaleway_region }}'
|
|
|
|
server_id: "{{ server_id }}"
|
|
|
|
server_id: "{{ server_id }}"
|
|
|
|
user_data:
|
|
|
|
user_data:
|
|
|
|
cloud-init: "{{ cloud_init_script }}"
|
|
|
|
cloud-init: "{{ cloud_init_script }}"
|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Patch user_data cloud-init configuration
|
|
|
|
- name: Patch user_data cloud-init configuration
|
|
|
|
scaleway_user_data:
|
|
|
|
scaleway_user_data:
|
|
|
|
region: par1
|
|
|
|
region: '{{ scaleway_region }}'
|
|
|
|
server_id: "{{ server_id }}"
|
|
|
|
server_id: "{{ server_id }}"
|
|
|
|
user_data:
|
|
|
|
user_data:
|
|
|
|
cloud-init: "{{ cloud_init_script }}"
|
|
|
|
cloud-init: "{{ cloud_init_script }}"
|
|
|
@ -52,7 +52,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Patch user_data cloud-init configuration (Confirmation)
|
|
|
|
- name: Patch user_data cloud-init configuration (Confirmation)
|
|
|
|
scaleway_user_data:
|
|
|
|
scaleway_user_data:
|
|
|
|
region: par1
|
|
|
|
region: '{{ scaleway_region }}'
|
|
|
|
server_id: "{{ server_id }}"
|
|
|
|
server_id: "{{ server_id }}"
|
|
|
|
user_data:
|
|
|
|
user_data:
|
|
|
|
cloud-init: "{{ cloud_init_script }}"
|
|
|
|
cloud-init: "{{ cloud_init_script }}"
|
|
|
@ -69,10 +69,10 @@
|
|
|
|
scaleway_compute:
|
|
|
|
scaleway_compute:
|
|
|
|
name: foobar
|
|
|
|
name: foobar
|
|
|
|
state: absent
|
|
|
|
state: absent
|
|
|
|
region: par1
|
|
|
|
region: '{{ scaleway_region }}'
|
|
|
|
image: 857de28c-39ce-4b15-9389-b68d8bb1bb51
|
|
|
|
image: '{{ scaleway_image_id }}'
|
|
|
|
organization: 951df375-e094-4d26-97c1-ba548eeb9c42
|
|
|
|
organization: '{{ scaleway_organization }}'
|
|
|
|
commercial_type: START1-S
|
|
|
|
commercial_type: '{{ scaleway_commerial_type }}'
|
|
|
|
wait: true
|
|
|
|
wait: true
|
|
|
|
register: server_destroy_task
|
|
|
|
register: server_destroy_task
|
|
|
|
|
|
|
|
|
|
|
|