|
|
|
@ -53,14 +53,12 @@
|
|
|
|
- role: hcloud
|
|
|
|
- role: hcloud
|
|
|
|
when:
|
|
|
|
when:
|
|
|
|
- "'hcloud' in group_names"
|
|
|
|
- "'hcloud' in group_names"
|
|
|
|
- not "'hcloud_fw' in group_names"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- role: hetzner_state
|
|
|
|
- role: hetzner_state
|
|
|
|
vars:
|
|
|
|
vars:
|
|
|
|
hetzner_state: 'started'
|
|
|
|
hetzner_state: 'started'
|
|
|
|
when:
|
|
|
|
when:
|
|
|
|
- "'hcloud' in group_names"
|
|
|
|
- "'hcloud' in group_names"
|
|
|
|
- not "'hcloud_fw' in group_names"
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
tasks:
|
|
|
|
- name: "Create server in DO-cloud via include_tasks"
|
|
|
|
- name: "Create server in DO-cloud via include_tasks"
|
|
|
|
include_role:
|
|
|
|
include_role:
|
|
|
|
|