Minor changes

This commit is contained in:
Bradley committed 2025-08-25 15:51:53 -04:00
1 parent 846496d618
commit 3fad0e1124
3 files changed
+19 -2

No files matched your search

+11
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"