Minor changes

This commit is contained in:
2025-08-25 15:51:53 -04:00
parent 846496d618
commit 3fad0e1124
3 changed files with 19 additions and 2 deletions

View File

@@ -2,7 +2,18 @@
# Bits an pieces of this play are stolen from https://github.com/gavinwill/ansible-role-pfsense-backup/tree/main
- name: PFSense Backups
hosts: pfsense_nodes
collections:
- ansible.posix
tasks:
- name: Mount backup share
ansible.posix.mount:
path: /backup
src: "10.42.0.3:/backups/pfsense"
fstype: nfs
opts: "hard,intr,nodev,nosuid,noexec"
state: ephemeral
delegate_to: blacktide
- name: Get Cookies and CSRF Token
ansible.builtin.uri:
url: "https://{{ backup_url }}/diag_backup.php"