Compare commits

..

1 Commits

Author SHA1 Message Date
renovate[bot]
0b81b9dd9d Update actions/checkout action to v5 2025-10-12 14:58:26 +00:00
4 changed files with 5 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v5
- name: Lint Ansible Playbook - name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@main uses: ansible/ansible-lint-action@main

View File

@@ -21,7 +21,7 @@
- name: Initialize borg check_repositories - name: Initialize borg check_repositories
ansible.builtin.shell: "borgmatic init --encryption repokey" ansible.builtin.shell: "borgmatic init --encryption repokey"
environment: environment:
PATH: "{{ ansible_facts['env'].PATH}}:/usr/local/bin" PATH: "{{ ansible_env.PATH}}:/usr/local/bin"
- name: Enable borgmatic.timer - name: Enable borgmatic.timer
ansible.builtin.systemd: ansible.builtin.systemd:

View File

@@ -2,8 +2,8 @@
- name: Borgmatic - Get OS specific vars - name: Borgmatic - Get OS specific vars
include_vars: "{{ item }}" include_vars: "{{ item }}"
with_first_found: with_first_found:
- "os/{{ ansible_facts['os_family'] }}/{{ ansible_facts['distribution_major_version'] }}.yaml" - "os/{{ ansible_os_family }}/{{ ansible_distribution_major_version }}.yaml"
- "os/{{ ansible_facts['os_family'] }}.yaml" - "os/{{ ansible_os_family }}.yaml"
- name: Borgmatic - Install and configure - name: Borgmatic - Install and configure
when: borgmatic_enabled | default(true) when: borgmatic_enabled | default(true)

View File

@@ -3,8 +3,8 @@
ansible.builtin.systemd: ansible.builtin.systemd:
name: borgmatic.timer name: borgmatic.timer
enabled: false enabled: false
masked: true
state: stopped state: stopped
failed_when: false
- name: Remove borgmatic systemd units - name: Remove borgmatic systemd units
ansible.builtin.file: ansible.builtin.file:
@@ -21,8 +21,6 @@
ansible.builtin.package: ansible.builtin.package:
name: borgmatic name: borgmatic
state: absent state: absent
when:
- not (borgmatic_install_from_pip | default(false))
- name: Remove borgmatic configuration directory - name: Remove borgmatic configuration directory
ansible.builtin.file: ansible.builtin.file: