mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 11:24:30 +00:00
- Add k3s start/stop Ansible playbooks and roles. - Implement OpenTofu initialization scripts and k8s manifests. - Update ncurses installer with OpenTofu support and improved k3s integration. - Add mode support (--mode) to etc/ initialization scripts. - Update prole-db with recovery, barman objectstore, and SSH OpenBao support. - Refine k8s manifests for OpenBao and prole-db.
14 lines
280 B
YAML
14 lines
280 B
YAML
---
|
|
- name: Gather service facts
|
|
ansible.builtin.service_facts:
|
|
|
|
- name: Stop k3s services if present
|
|
ansible.builtin.service:
|
|
name: "{{ item }}"
|
|
state: stopped
|
|
enabled: false
|
|
loop:
|
|
- k3s
|
|
- k3s-agent
|
|
when: (item + ".service") in ansible_facts.services
|