mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Remove old roles and fix idempotency issues
This commit is contained in:
parent
f468fd3e34
commit
92be60ad51
85 changed files with 38 additions and 5890 deletions
|
|
@ -28,3 +28,4 @@
|
|||
until: result.stdout.find("chmod666/keepalived") != -1
|
||||
retries: 18
|
||||
delay: 10
|
||||
changed_when: no
|
||||
|
|
|
|||
|
|
@ -54,5 +54,6 @@
|
|||
until: result.stdout.find("Ready") == 0
|
||||
retries: 36
|
||||
delay: 10
|
||||
changed_when: no
|
||||
|
||||
- meta: flush_handlers
|
||||
|
|
|
|||
|
|
@ -37,3 +37,4 @@
|
|||
until: result.stdout.find("Ready") == 0
|
||||
retries: 36
|
||||
delay: 10
|
||||
changed_when: no
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
shell: "ps -ef | grep [k]ube-proxy"
|
||||
register: kube_proxy_running
|
||||
ignore_errors: True
|
||||
changed_when: no
|
||||
|
||||
- block:
|
||||
- name: Joining cluster on other nodes
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
until: result.stdout.find("2") != -1
|
||||
retries: 180
|
||||
delay: 10
|
||||
changed_when: no
|
||||
when: inventory_hostname == initial_master
|
||||
|
||||
- include: kubeadm-token.yml
|
||||
|
|
@ -70,6 +71,7 @@
|
|||
until: result.stdout.find("Ready") == 0
|
||||
retries: 36
|
||||
delay: 10
|
||||
changed_when: no
|
||||
delegate_to: "{{ initial_master }}"
|
||||
|
||||
- debug: var=result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue