* [kubernetes] Add hashes for kubernetes 1.26.11, 1.26.10 Make kubernetes 1.26.11 default * Workaround for yaml/pyyaml#601 * Convert exoscale tf provider to new version (#10646) This is untested. It passes terraform validate to un-broke the CI. * Update 0040-verify-settings.yml (#10699) remove embedded template * Use supported version of fedora in CI (#10108) * tests: replace fedora35 with fedora37 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: replace fedora36 with fedora38 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * docs: update fedora version in docs Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * molecule: upgrade fedora version Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: upgrade fedora images for vagrant and kubevirt Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * vagrant: workaround to fix private network ip address in fedora Fedora stop supporting syconfig network script so we added a workaround here https://github.com/hashicorp/vagrant/issues/12762#issuecomment-1535957837 to fix it. * netowrkmanager: do not configure dns if using systemd-resolved We should not configure dns if we point to systemd-resolved. Systemd-resolved is using NetworkManager to infer the upstream DNS server so if we set NetworkManager to 127.0.0.53 it will prevent systemd-resolved to get the correct network DNS server. Thus if we are in this case we just don't set this setting. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * image-builder: update centos7 image Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * gitlab-ci: mark fedora packet jobs as allow failure Fedora networking is still broken on Packet, let's mark it as allow failure for now. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> Co-authored-by: piwinkler <9642809+piwinkler@users.noreply.github.com> Co-authored-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
---
|
|
- name: NetworkManager | Add nameservers to NM configuration
|
|
ini_file:
|
|
path: /etc/NetworkManager/conf.d/dns.conf
|
|
section: global-dns-domain-*
|
|
option: servers
|
|
value: "{{ nameserverentries }}"
|
|
mode: '0600'
|
|
backup: yes
|
|
when:
|
|
- nameserverentries != "127.0.0.53" or systemd_resolved_enabled.rc != 0
|
|
notify: Preinstall | update resolvconf for networkmanager
|
|
|
|
- name: set default dns if remove_default_searchdomains is false
|
|
set_fact:
|
|
default_searchdomains: ["default.svc.{{ dns_domain }}", "svc.{{ dns_domain }}"]
|
|
when: not remove_default_searchdomains|default()|bool or (remove_default_searchdomains|default()|bool and searchdomains|default([])|length==0)
|
|
|
|
- name: NetworkManager | Add DNS search to NM configuration
|
|
ini_file:
|
|
path: /etc/NetworkManager/conf.d/dns.conf
|
|
section: global-dns
|
|
option: searches
|
|
value: "{{ (default_searchdomains|default([]) + searchdomains|default([])) | join(',') }}"
|
|
mode: '0600'
|
|
backup: yes
|
|
notify: Preinstall | update resolvconf for networkmanager
|
|
|
|
- name: NetworkManager | Add DNS options to NM configuration
|
|
ini_file:
|
|
path: /etc/NetworkManager/conf.d/dns.conf
|
|
section: global-dns
|
|
option: options
|
|
value: "ndots:{{ ndots }},timeout:{{ dns_timeout|default('2') }},attempts:{{ dns_attempts|default('2') }}"
|
|
mode: '0600'
|
|
backup: yes
|
|
notify: Preinstall | update resolvconf for networkmanager
|