k8s-clusters/ansible/k3s-node/tasks/prepare-host.yml

24 lines
584 B
YAML
Raw Permalink Normal View History

2022-02-06 15:52:03 -06:00
# arch linux
2022-02-07 21:07:07 -06:00
- include_tasks: ./create-aur-builder-user.yml
2022-02-06 15:52:03 -06:00
when: ansible_facts.os_family == 'Archlinux'
2022-02-07 21:07:07 -06:00
- include_tasks: ./install-aur-helper.yml
2022-02-06 15:52:03 -06:00
when: ansible_facts.os_family == 'Archlinux'
2022-02-07 21:07:07 -06:00
vars:
aur_helper_pkg: paru-bin
2022-02-06 15:52:03 -06:00
2022-02-07 21:07:07 -06:00
- include_tasks: ./upgrade-all-packages.yml
vars:
aur_helper_command: paru
2022-02-06 15:52:03 -06:00
2022-02-08 16:38:17 -06:00
# TODO: is per-node host-level time sync necessary?
- name: install necessary utilities for longhorn
when: ansible_facts.os_family == 'Archlinux'
community.general.pacman:
executable: 'paru'
name:
- nfs-utils
- open-iscsi
state: present