manage_repositories/tasks/main.yml
Bertrand Lanson 080f6a3f7c
Some checks reported warnings
test / Molecule tests (default, debian11) (push) Has been cancelled
test / Molecule tests (default, debian12) (push) Has been cancelled
test / Molecule tests (default, ubuntu2004) (push) Has been cancelled
test / Molecule tests (default, ubuntu2204) (push) Has been cancelled
test / Molecule tests (with_custom_repo, debian11) (push) Has been cancelled
test / Molecule tests (with_custom_repo, debian12) (push) Has been cancelled
test / Molecule tests (with_custom_repo, ubuntu2004) (push) Has been cancelled
test / Molecule tests (with_custom_repo, ubuntu2204) (push) Has been cancelled
test / Linting (push) Has been cancelled
started working on deb822 implementation
2023-09-11 22:46:24 +02:00

14 lines
486 B
YAML

---
# task/main file for manage_repositories
- name: "Load variables"
ansible.builtin.include_vars:
file: "{{ ansible_distribution|lower }}.yml"
- name: "Import main {{ ansible_distribution|lower }} repositories"
ansible.builtin.include_tasks: "{{ ansible_distribution|lower }}.yml"
when: manage_repositories_enable_default_repo
- name: "Import custom_repositories.yml"
ansible.builtin.include_tasks: custom_repositories.yml
when: manage_repositories_enable_custom_repo