small refactor
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s

This commit is contained in:
hogweed1
2025-11-17 03:24:06 +10:00
parent e94dce1c40
commit 235be3a95a

View File

@@ -6,45 +6,59 @@
become: true # Required for managing system-level configurations
tasks:
#### TODO добавить указание что всё управляется ансиболью
- ansible.builtin.apt_repository:
repo: 'deb https://nexus.guaranteedstruggle.host/repository/generic-deb-debian-org/ {{ ansible_distribution_release }} main non-free-firmware' # Replace with your desired repository
state: present
#filename: custom-repo # Optional: specify a filename for the .list file
filename: /etc/apt/sources.list
- ansible.builtin.apt_repository:
repo: 'deb-src https://nexus.guaranteedstruggle.host/repository/generic-deb-debian-org/ {{ ansible_distribution_release }} main non-free-firmware' # Replace with your desired repository
state: present
filename: /etc/apt/sources.list
- ansible.builtin.apt_repository:
repo: 'deb http://deb.debian.org/debian/ {{ ansible_distribution_release }} main non-free-firmware' # Replace with your desired repository
state: absent
filename: /etc/apt/sources.list
- ansible.builtin.apt_repository:
repo: 'deb-src http://deb.debian.org/debian/ {{ ansible_distribution_release }} main non-free-firmware' # Replace with your desired repository
state: absent
filename: /etc/apt/sources.list
- ansible.builtin.apt_repository:
repo: 'deb https://nexus.guaranteedstruggle.host/repository/generic-security-debian/ {{ ansible_distribution_release }}-security main non-free-firmware' # Replace with your desired repository
state: present
filename: /etc/apt/sources.list
- ansible.builtin.apt_repository:
repo: 'deb-src https://nexus.guaranteedstruggle.host/repository/generic-security-debian/ bookworm-security main non-free-firmware' # Replace with your desired repository
state: present
filename: /etc/apt/sources.list
- ansible.builtin.apt_repository:
repo: 'deb http://security.debian.org/debian-security {{ ansible_distribution_release }}-security main non-free-firmware' # Replace with your desired repository
state: absent
filename: /etc/apt/sources.list
- ansible.builtin.apt_repository:
repo: 'deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware' # Replace with your desired repository
state: absent
filename: /etc/apt/sources.list
- ansible.builtin.apt_repository:
repo: 'deb https://nexus.guaranteedstruggle.host/repository/generic-deb-debian-org/ {{ ansible_distribution_release }}-updates main non-free-firmware' # Replace with your desired repository
state: present
filename: /etc/apt/sources.list
- ansible.builtin.apt_repository:
repo: 'deb-src https://nexus.guaranteedstruggle.host/repository/generic-deb-debian-org/ {{ ansible_distribution_release }}-updates main non-free-firmware' # Replace with your desired repository
state: present
filename: /etc/apt/sources.list
- ansible.builtin.apt_repository:
repo: 'deb http://deb.debian.org/debian/ {{ ansible_distribution_release }}-updates main non-free-firmware' # Replace with your desired repository
state: absent
filename: /etc/apt/sources.list
- ansible.builtin.apt_repository:
repo: 'deb-src http://deb.debian.org/debian/ {{ ansible_distribution_release }}-updates main non-free-firmware' # Replace with your desired repository
state: absent
filename: /etc/apt/sources.list
# - name: Disable an existing APT repository (by commenting out its entry)