manage_repositories/tasks/main.yml

20 lines
630 B
YAML
Raw Normal View History

2023-03-09 08:29:28 +00:00
---
# task/main file for manage_repositories
- name: "Load variables"
ansible.builtin.include_vars:
file: "{{ ansible_distribution|lower }}.yml"
2023-09-13 19:54:24 +00:00
- name: "Import prerequisites.yml"
ansible.builtin.include_tasks: prerequisites.yml
2023-09-13 19:57:41 +00:00
- name: "Import main repositories for {{ ansible_distribution|lower }}"
2023-09-13 19:54:24 +00:00
ansible.builtin.include_tasks: "main_repositories.yml"
2023-03-09 08:29:28 +00:00
when: manage_repositories_enable_default_repo
- name: "Import custom_repositories.yml"
ansible.builtin.include_tasks: custom_repositories.yml
when: manage_repositories_enable_custom_repo
2023-09-14 21:49:45 +00:00
- name: "Update apt caches"
ansible.builtin.meta: flush_handlers