commited current state (new functions, may not work by now)

This commit is contained in:
Ansible Servercow
2025-10-08 09:32:02 +02:00
parent e5f83941b9
commit b21a80af07
54 changed files with 1381 additions and 74 deletions

View File

@@ -0,0 +1,17 @@
- name: "Change Mirror"
hosts: all
tasks:
- name: Verify if system is Debian
ansible.builtin.debug:
msg: "This playbook is running on a Debian system."
when: ansible_os_family == "Debian"
- name: Stop playbook if system is not Debian
ansible.builtin.fail:
msg: "This playbook only supports Debian."
when: ansible_os_family != "Debian"
- name: Include OS change mirror role
ansible.builtin.include_role:
name: os-updates
tasks_from: update_mirrors