summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-03-02 00:54:50 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-03-02 00:54:50 +0100
commit1b2e596b15181c983efb2c8b3030f2f11d28bd72 (patch)
treecf7a5b9b84ab15a0acc929df19a4524831d0aac6 /roles
parentele-ups: firewall and listen_address (diff)
emc k8s cluster is now complete
Diffstat (limited to 'roles')
-rw-r--r--roles/acmetool/base/defaults/main.yml2
-rw-r--r--roles/cloud/install/tasks/hcloud.yml21
2 files changed, 14 insertions, 9 deletions
diff --git a/roles/acmetool/base/defaults/main.yml b/roles/acmetool/base/defaults/main.yml
index b8ceb881..df82d26c 100644
--- a/roles/acmetool/base/defaults/main.yml
+++ b/roles/acmetool/base/defaults/main.yml
@@ -3,7 +3,7 @@ acmetool_directory_server_le_live_v1: "https://acme-v01.api.letsencrypt.org/dire
acmetool_directory_server_le_staging_v1: "https://acme-staging.api.letsencrypt.org/directory"
acmetool_directory_server_le_live_v2: "https://acme-v02.api.letsencrypt.org/directory"
-acmetool_directory_server_le_staging_v2: "acme-staging-v02.api.letsencrypt.org/directory"
+acmetool_directory_server_le_staging_v2: "https://acme-staging-v02.api.letsencrypt.org/directory"
## this can't be changed after the account as been created (aka after the first run)
## and it's not recommended to keep this empty so we don't define it here which will lead to an error
diff --git a/roles/cloud/install/tasks/hcloud.yml b/roles/cloud/install/tasks/hcloud.yml
index 646d80da..7e87c114 100644
--- a/roles/cloud/install/tasks/hcloud.yml
+++ b/roles/cloud/install/tasks/hcloud.yml
@@ -38,14 +38,19 @@
status_code: 201
delegate_to: localhost
-- name: do a hardware reset
- uri:
- url: "https://api.hetzner.cloud/v1/servers/{{ serverstatus.json.servers[0].id }}/actions/reset"
- method: POST
- headers:
- Authorization: "Bearer {{ install_cooked.cloud.credentials.token }}"
- status_code: 201
- delegate_to: localhost
+## TODO: remove this once the task below is fixed
+- pause:
+ prompt: Please reset the server {{ install_cooked.cloud.server_name | default(inventory_hostname) }} and press enter...
+
+### TODO this does not work????
+# - name: do a hardware reset
+# uri:
+# url: "https://api.hetzner.cloud/v1/servers/{{ serverstatus.json.servers[0].id }}/actions/reset"
+# method: POST
+# headers:
+# Authorization: "Bearer {{ install_cooked.cloud.credentials.token }}"
+# status_code: 201
+# delegate_to: localhost
### TODO: would be nice to get the SSH host key from robot
- name: completely ignore ssh host keys for now