style: make ansible-lint happier

This commit is contained in:
VC
2024-07-05 11:53:33 +02:00
parent 59c7369d68
commit 2d3fd5bd8e
3 changed files with 26 additions and 24 deletions

View File

@@ -1,24 +1,24 @@
---
- name: remove borg packet
package:
- name: Remove borg packet
ansible.builtin.package:
name: borgbackup
state: absent
- name: remove borg script
file:
- name: Remove borg script
ansible.builtin.file:
path: /usr/local/bin/borgbackup.sh
state: absent
- name: remove cache dirs
file:
- name: Remove cache dirs
ansible.builtin.file:
path: "{{ item }}"
state: absent
loop:
- "/root/.cache/borg"
- "/root/.config/borg"
- name: remove cron
cron:
- name: Remove cron
ansible.builtin.cron:
name: "borg backup script"
state: absent