kubespray/roles/bootstrap-os/tasks
Max Gautier c58497cde9
Refactor bootstrap-os (#10983)
* Remove leftover files for Coreos

Coreos was replaced by flatcar in 058438a25 but the file was copied
instead of moved.

* Remove workarounds for resolved ansible issues

* boostrap: Use first_found to include per distro

Using directly ID and VARIANT_ID with first_found allow for less manual
includes.
Distro "families" are simply handled by symlinks.

* boostrap: don't set ansible_python_interpreter

- Allows users to override the chosen python_interpreter with group_vars
  easily (group_vars have lesser precedence than facts)
- Allows us to use vars at the task scope to use a virtual env

Ansible python discovery has improved, so those workarounds should not
be necessary anymore.
Special workaround for Flatcar, due to upstream ansible not willing to
support it.
2024-03-27 05:58:53 -07:00
..
amazon.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
centos.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
clearlinux.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
debian.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
fedora-coreos.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
fedora.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
flatcar.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
main.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
opensuse-leap.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
opensuse-tumbleweed.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
opensuse.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
redhat.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00
ubuntu.yml Refactor bootstrap-os (#10983) 2024-03-27 05:58:53 -07:00