manage_repositories/tasks/main.yml

14 lines
486 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"
- name: "Import main {{ ansible_distribution|lower }} repositories"
ansible.builtin.include_tasks: "{{ ansible_distribution|lower }}.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