From c181965242f79bc11bed9899a23f1e8d180bd7a3 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sat, 25 Jan 2025 01:30:54 -0600 Subject: [PATCH] Add tag to package thingamabob so we can skip it if we have to --- roles/backup/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/backup/tasks/main.yml b/roles/backup/tasks/main.yml index 7240e5a..176e23b 100644 --- a/roles/backup/tasks/main.yml +++ b/roles/backup/tasks/main.yml @@ -10,6 +10,7 @@ - name: install restic through rpm-ostree community.general.rpm_ostree_pkg: name=restic state=present when: ansible_os_family == "RedHat" and ansible_pkg_mgr == "atomic_container" + tags: [ packages ] # The script - name: template out backup script ansible.builtin.template: src={{ backup_script }}.sh dest=/opt/backup.sh mode=0700 owner=root group=root