Closed ghost closed 3 years ago
Your constructive feedback makes this project stronger! Thank you!' first issue
Strange...
It actually does replace the server ip value, or at least it is the correct one before the step errors out.I did replace the task with a simple Ansible pause, change/verify it manually, and then proceed further with the process.
The rest of the playbook worked without any errors, except some in the addons.yml
.
I had to comment out all, except the calico cni
and ingress-nginx
and install the rest manually (), but that is mostly because of the continuous updates and the constantly changing ecosystem of both helm, and the subsequent charts.
Anyway, I got it to work with minor effort, and it works great.
Thank you very much , it helped me a lot (also maybe consider having a donate/buy a coffee/donate cryptocurrency section, some people might use it ;) )
If you have any questions or clarifications please write, otherwise I will close this issue.
(for completness)
replace:
dest: /etc/kubernetes/kubelet.conf
regexp: '(\s+)(server: https:\/\/)[A-Za-z0-9\-\.]+:'
replace: '\1\2{{ master_name }}:'
pause:
prompt: Please confirm ...! Press enter/return to continue. Press Ctrl+c and then "a" to abort
3 . From different terminal do the task manually (change the server ip in `/etc/kubernetes/kubelet.conf`)
4. Press `Enter` to resume the playbook
It actually does replace the server ip value, or at least it is the correct one before the step errors out.I did replace the task with a simple Ansible pause, change/verify it manually, and then proceed further with the process.
This is very strange... I guess is something related to ansible&python versions.
The rest of the playbook worked without any errors, except some in the
addons.yml
. I had to comment out all, except thecalico cni
andingress-nginx
and install the rest manually (), but that is mostly because of the continuous updates and the constantly changing ecosystem of both helm, and the subsequent charts.
Did you take the latest version? I verified and updated all the charts and repos. If you have the logs, let me know which ones. Again -> please confirm it was latest version (master or release 1.19)
Anyway, I got it to work with minor effort, and it works great.
Thank you very much , it helped me a lot (also maybe consider having a donate/buy a coffee/donate cryptocurrency section, some people might use it ;) )
If you have any questions or clarifications please write, otherwise I will close this issue.
Stale issue
JFYI it happens when you have defined [primary-master] section in hosts file as ip address, not fqdn. Maybe there is need to add some validation on it.
Hello I get this error when trying to run the playbook
System,software and tools versions:
Python code throwing the error (
/usr/lib/python3.8/sre_parse.py\", line 980
)Playbook task and regex code
Unfortunately my python regex skills aren't good enough to fix it in the short time I have right now. But I will update with a solution if I find one,
Thank you for your work and for making it open source!