Comments (2)
Until I find the reason for this, so I can identify the appropriate conditions for a patch, I have applied a temporary workaround by integrating it into the pre-tasks of my playbook.
---
- hosts: kubernetes_masters
gather_facts: true
remote_user: ubuntu
become: true
pre_tasks:
# https://docs.cilium.io/en/v1.13/operations/system_requirements/#systemd-based-distributions
- name: Do not manage foreign routes
ansible.builtin.blockinfile:
path: /etc/systemd/networkd.conf
insertafter: "^\\[Network\\]"
block: |
ManageForeignRoutes=no
ManageForeignRoutingPolicyRules=no
register: networkd_patch
- name: Force systemd to reread configs
ansible.builtin.systemd:
daemon_reload: true
when: networkd_patch.changed
# https://github.com/lablabs/ansible-role-rke2/issues/157
- name: Check if {{ rke2_api_ip }} is pingable
ansible.builtin.shell: "ping -c 1 {{ rke2_api_ip }}"
register: ping_result
ignore_errors: yes
- name: Add the {{ rke2_api_ip }} address to the first node if no ICMP reply
ansible.builtin.shell: "ip addr add {{ rke2_api_ip }}/32 dev {{ rke2_interface }}"
when:
- ping_result.failed
- inventory_hostname == groups[rke2_servers_group_name].0
roles:
- ansible-role-rke2
from ansible-role-rke2.
Related Issues (20)
- bug: Unable to provision multiple nodes using Vagrant
- bug: ansible_default_ipv4 fact & IPv6 only machine
- Playbook stuck while starting the RKE2 service on agents HOT 1
- Query: Whether we can use this playbook can handle upgrade of existing clusters? HOT 2
- bug: issues defining custom registry configs after cluster creation HOT 1
- bug: [BREAKING] disable_kube_proxy is commented in default/main.yaml HOT 1
- bug: Molecule test is failing
- bug: disable_kube_proxy defaults to true HOT 1
- feature: kube vip multiple range/CIDR HOT 1
- bug: kubelet server certificates does not include keepalived VIP HOT 11
- bug: Re-Installation fails after rke2-uninstall.sh because of a bug in the [lablabs.rke2 : Check RKE2 version] task HOT 1
- bug: Stuck on Wait for remaining nodes to be ready HOT 1
- feature: Upgrade HOT 1
- bug: 1.25.0 not available in ansible galaxy HOT 2
- bug: when bootstrapping cluster with kube-vip, role fails on "Wait for the first server be ready" HOT 1
- bug: Copying of Kube VIP manifests
- feature: provide kube-vip-cloud-provider image url through variables
- feature: update kubevip templated to support additional environment variables. HOT 1
- feature: Add debug mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-rke2.