PFSense is weird about SSL and HSTS. Removing the S in HTTPS so it can redirect on its own
This commit is contained in:
parent
c078925621
commit
bb27a5d3ce
@ -14,12 +14,13 @@
|
||||
opts: "hard,intr,nodev,nosuid,noexec"
|
||||
state: ephemeral
|
||||
delegate_to: blacktide
|
||||
run_once: true
|
||||
become: true
|
||||
become_method: sudo
|
||||
|
||||
- name: Get Cookies and CSRF Token
|
||||
ansible.builtin.uri:
|
||||
url: "https://{{ backup_url }}/diag_backup.php"
|
||||
url: "http://{{ backup_url }}/diag_backup.php"
|
||||
validate_certs: false
|
||||
method: GET
|
||||
return_content: true
|
||||
@ -35,7 +36,7 @@
|
||||
|
||||
- name: Authenticate with backup page and register backup CSRF
|
||||
ansible.builtin.uri:
|
||||
url: "https://{{ backup_url }}/diag_backup.php"
|
||||
url: "http://{{ backup_url }}/diag_backup.php"
|
||||
validate_certs: false
|
||||
follow_redirects: false
|
||||
method: POST
|
||||
@ -60,7 +61,7 @@
|
||||
|
||||
- name: Fetch Target page for new CSRF token
|
||||
ansible.builtin.uri:
|
||||
url: "https://{{ backup_url }}/diag_backup.php"
|
||||
url: "http://{{ backup_url }}/diag_backup.php"
|
||||
validate_certs: false
|
||||
follow_redirects: false
|
||||
method: GET
|
||||
@ -79,7 +80,7 @@
|
||||
|
||||
- name: Download Backup Configuration
|
||||
ansible.builtin.uri:
|
||||
url: "https://{{ backup_url }}/diag_backup.php"
|
||||
url: "http://{{ backup_url }}/diag_backup.php"
|
||||
validate_certs: false
|
||||
follow_redirects: false
|
||||
method: "POST"
|
||||
|
Loading…
Reference in New Issue
Block a user