[TIDY] Update to ansible 4 module names

This commit is contained in:
Jannik Beyerstedt 2021-08-28 16:50:37 +02:00
parent 3c1939f431
commit a2fc598416
19 changed files with 89 additions and 89 deletions

View file

@ -9,7 +9,7 @@
- name: borgbackup - Add debian repo key
become: yes
apt_key:
ansible.builtin.apt_key:
keyserver: pgpkeys.mit.edu
id: 8B48AD6246925553
state: present
@ -17,14 +17,14 @@
- ansible_distribution_release == 'stretch'
- name: borgbackup - Add stretch-backports
become: yes
apt_repository:
ansible.builtin.apt_repository:
repo: deb http://ftp.debian.org/debian stretch-backports main
state: present
when:
- ansible_distribution_release == 'stretch'
- name: borgbackup - Install borgbackup from stretch-backports
become: yes
apt:
ansible.builtin.apt:
name: borgbackup
state: latest
default_release: stretch-backports