Add tag to package thingamabob so we can skip it if we have to

This commit is contained in:
Salt 2025-01-25 01:30:54 -06:00
parent e6e8427227
commit c181965242

View File

@ -10,6 +10,7 @@
- name: install restic through rpm-ostree - name: install restic through rpm-ostree
community.general.rpm_ostree_pkg: name=restic state=present community.general.rpm_ostree_pkg: name=restic state=present
when: ansible_os_family == "RedHat" and ansible_pkg_mgr == "atomic_container" when: ansible_os_family == "RedHat" and ansible_pkg_mgr == "atomic_container"
tags: [ packages ]
# The script # The script
- name: template out backup script - name: template out backup script
ansible.builtin.template: src={{ backup_script }}.sh dest=/opt/backup.sh mode=0700 owner=root group=root ansible.builtin.template: src={{ backup_script }}.sh dest=/opt/backup.sh mode=0700 owner=root group=root