If you are using GitLab outside of the ILL, then you will need to use HTTPS and not SSH for clone/push/pull operations. SSH will work normally if you are using the VPN.

Commit c5a902c5 authored by eric pellegrini's avatar eric pellegrini

refactored add-workers role

parent 03dba7f9
---
- hosts: k8s_workers
remote_user: "{{ vm_admin }}"
become_user: "{{ kubernetes_parameters['admin'] }}"
remote_user: "{{ cluster_users.1.name }}"
become: True
......
......@@ -19,13 +19,11 @@
- name: reset the node if necessary
command: "kubeadm reset --force"
become_user: root
become: true
become: True
- name: add the worker nodes to the cluster
command: sh /tmp/kub-join-command.sh
become_user: root
become: true
become: True
- name: wait for all nodes to be ready once joined
command: "kubectl wait --for=condition=Ready --timeout=60s nodes/{{ ansible_hostname }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment