use uri module instead of get_url to fix trusted CAs on openbsd

master
Michael Wilson 3 years ago
parent 9f911dc201
commit 0171b957e0
  1. 8
      firewall/tasks/openbsd.yml

@ -48,14 +48,16 @@
state: present state: present
snapshot: "{{ force_openbsd_snapshot | default(false) }}" snapshot: "{{ force_openbsd_snapshot | default(false) }}"
- name: download pf-badhost - name: download pf-badhost
environment: uri:
SSL_CERT_FILE: "/etc/ssl/cert.pem"
get_url:
url: "{{ pfbadhost_url }}" url: "{{ pfbadhost_url }}"
dest: "{{ pfbadhost_path }}" dest: "{{ pfbadhost_path }}"
owner: root owner: root
group: wheel group: wheel
mode: "0755" mode: "0755"
ca_path: /etc/ssl/cert.pem
status_code:
- 200
- 304
register: pfbadhost_installed register: pfbadhost_installed
- name: enable authlog scanning - name: enable authlog scanning

Loading…
Cancel
Save