DEV-452: added potential fixes for our hetzner create_server - is locked/message problem

feature/DEV-380
friedrich goerz 4 years ago
parent 2a08f40e89
commit dac7002ad9

@ -1,7 +1,7 @@
--- ---
# creates elastic objetcs for smardigo instances # creates elastic objetcs for smardigo instances
# to empower dudes to find relevant logmessages faster and # to empower dudes to find relevant logmessages faster and
# reduce/abolish "monkey business" in creating needed ES-related objects for (devops|admin)-dudes # reduce/abolish "monkey business" in creating needed ES-related objects for (devops|admin)-dudes
# - executed on stage specific server: {{ stage }}-elastic-stack-kibana-01-kibana # - executed on stage specific server: {{ stage }}-elastic-stack-kibana-01-kibana
@ -64,17 +64,17 @@
api_endpoint: '{{ stage }}-elastic-stack-kibana-01-kibana.{{ domain }}' api_endpoint: '{{ stage }}-elastic-stack-kibana-01-kibana.{{ domain }}'
elastic_state: present elastic_state: present
elastic_users: elastic_users:
- -
username: '{{ stage }}-{{ tenant_id }}' username: '{{ stage }}-{{ tenant_id }}'
roles: roles:
- '{{ stage }}-{{ tenant_id }}' - '{{ stage }}-{{ tenant_id }}'
full_name: '' full_name: ''
password: '{{ password | default( stage + "-" + tenant_id ) }}' password: '{{ password | default( stage + "-" + tenant_id ) }}'
email: '{{ email | default("") }}' email: '{{ email | default("") }}'
enabled: true enabled: true
elastic_state: '{{ elastic_state }}' elastic_state: '{{ elastic_state }}'
elastic_roles: elastic_roles:
- -
elastic_state: '{{ elastic_state }}' elastic_state: '{{ elastic_state }}'
name: '{{ stage }}-{{ tenant_id }}' name: '{{ stage }}-{{ tenant_id }}'
elasticsearch: elasticsearch:

@ -24,8 +24,12 @@ roles:
version: 3.3.2 version: 3.3.2
collections: collections:
#- name: hetzner.hcloud
# version: 1.6.0
- name: hetzner.hcloud - name: hetzner.hcloud
version: 1.6.0 src: https://github.com/fredFromJupiter/hetzner.hcloud.git
version: fredFromJupiter-patch-1
scm: git
- name: community.general - name: community.general
- name: community.docker - name: community.docker
version: 2.1.1 version: 2.1.1

@ -45,7 +45,7 @@
state: "started" state: "started"
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
become: false become: false
retries: 10 retries: 40
delay: 15 delay: 15
until: server_locked.rc == 0 until: server_locked.rc == 0
register: server_locked register: server_locked

Loading…
Cancel
Save