ansible/roles/apt_listchanges/tasks/apt-listchanges-conf.yml

18 lines
388 B
YAML
Raw Normal View History

2022-12-14 17:43:16 +01:00
---
- name: apt-listchanges Config (/etc/apt/listchanges.conf)
ansible.builtin.template:
src: ../files/listchanges.conf
dest: /etc/apt/listchanges.conf
owner: root
group: root
mode: '0644'
- name: Install packages if Debian based
apt:
name: "apt-listchanges"
state: present
update_cache: true
become: true
when: ansible_os_family == 'Debian'