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"
|
opts: "hard,intr,nodev,nosuid,noexec"
|
||||||
state: ephemeral
|
state: ephemeral
|
||||||
delegate_to: blacktide
|
delegate_to: blacktide
|
||||||
|
run_once: true
|
||||||
become: true
|
become: true
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
|
|
||||||
- name: Get Cookies and CSRF Token
|
- name: Get Cookies and CSRF Token
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "https://{{ backup_url }}/diag_backup.php"
|
url: "http://{{ backup_url }}/diag_backup.php"
|
||||||
validate_certs: false
|
validate_certs: false
|
||||||
method: GET
|
method: GET
|
||||||
return_content: true
|
return_content: true
|
||||||
@ -35,7 +36,7 @@
|
|||||||
|
|
||||||
- name: Authenticate with backup page and register backup CSRF
|
- name: Authenticate with backup page and register backup CSRF
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "https://{{ backup_url }}/diag_backup.php"
|
url: "http://{{ backup_url }}/diag_backup.php"
|
||||||
validate_certs: false
|
validate_certs: false
|
||||||
follow_redirects: false
|
follow_redirects: false
|
||||||
method: POST
|
method: POST
|
||||||
@ -60,7 +61,7 @@
|
|||||||
|
|
||||||
- name: Fetch Target page for new CSRF token
|
- name: Fetch Target page for new CSRF token
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "https://{{ backup_url }}/diag_backup.php"
|
url: "http://{{ backup_url }}/diag_backup.php"
|
||||||
validate_certs: false
|
validate_certs: false
|
||||||
follow_redirects: false
|
follow_redirects: false
|
||||||
method: GET
|
method: GET
|
||||||
@ -79,7 +80,7 @@
|
|||||||
|
|
||||||
- name: Download Backup Configuration
|
- name: Download Backup Configuration
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "https://{{ backup_url }}/diag_backup.php"
|
url: "http://{{ backup_url }}/diag_backup.php"
|
||||||
validate_certs: false
|
validate_certs: false
|
||||||
follow_redirects: false
|
follow_redirects: false
|
||||||
method: "POST"
|
method: "POST"
|
||||||
|
Loading…
Reference in New Issue
Block a user