23 lines
560 B
YAML
23 lines
560 B
YAML
|
---
|
||
|
# tasks file for apt
|
||
|
|
||
|
- name: Déployer la configuration du gestionnaire
|
||
|
ansible.builtin.template:
|
||
|
src: apt.conf.j2
|
||
|
dest: /etc/apt/apt.conf.d/99-custom
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: u=rw,g=r,o=r
|
||
|
become: true
|
||
|
notify: Mettre à jour le cache
|
||
|
|
||
|
- name: Déployer la configuration des sources
|
||
|
ansible.builtin.template:
|
||
|
src: "{{ apt_distribution_name }}-{{ apt_distribution_release }}.list.j2"
|
||
|
dest: /etc/apt/sources.list
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: u=rw,g=r,o=r
|
||
|
become: true
|
||
|
notify: Mettre à jour le cache
|