role_apt/tasks/main.yml

23 lines
559 B
YAML
Raw Normal View History

2022-10-24 16:02:08 +02:00
---
# tasks file for apt
2023-11-28 10:57:22 +01:00
- name: Importer les tâches de configuration
ansible.builtin.import_tasks:
file: configuration.yml
2022-10-24 16:02:08 +02:00
2023-11-28 10:57:22 +01:00
- name: Importer les tâches d'ajout de dépôts tiers
ansible.builtin.import_tasks:
file: repositories.yml
2022-10-24 16:02:08 +02:00
2025-01-02 13:18:09 +01:00
- name: Importer les tâches d'ajout des préférences
ansible.builtin.import_tasks:
file: preferences.yml
when: apt_preferences | length > 0
2023-11-28 10:57:22 +01:00
- name: Exécuter les handlers
meta: flush_handlers
2022-10-24 16:02:08 +02:00
2023-11-28 10:57:22 +01:00
- name: Importer les tâches de gestion de paquets
ansible.builtin.import_tasks:
file: gestion.yml