Skip to content

Rosa-Luxemburgstiftung-Berlin/ansible-opnsense-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: GPL v3 lint

ansible-opnsense-update

perform a firmware update for opnsense via ansible

Role Variables

defaults/main.yml

Example

Sample Playbook

- name: opnsense
  hosts: opnsense
  vars:
    ansible_become: false
  roles:
    - role: ansible-opnsense-facts
      tags:
        - opnsense
        - facts
    - role: ansible-opnsense-update
      tags:
        - opnsense
        - update

Run

update to a fixed main release version

ansible-playbook -v -e opn_update_desired_version=22.1.5 -l opnsense -D firewalls.yml

update to a fixed hotfix release

ansible-playbook -v -e opn_update_desired_version=23.1.5_4 -l opnsense -D firewalls.yml

update to the lates version available

ansible-playbook -v -e opn_update_force=true -l opnsense -D firewalls.yml

Notes

The playbook requires:

Releases

No releases published

Packages

No packages published