Skip to content

Commit

Permalink
Merge branch 'main' into issue100-custom-configd-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zerwes authored Sep 20, 2024
2 parents 8af6344 + d30ac42 commit 8b05aec
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
---
# see https://github.com/Rosa-Luxemburgstiftung-Berlin/ansible-opnsense/issues/12

# some configctl infos
# https://docs.opnsense.org/manual/settingsmenu.html

# alias handlers
# see: src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasController.php

# api endpoint /api/firewall/alias/reconfigure

# configd
- name: service configd restart # noqa no-changed-when

Check failure on line 8 in handlers/main.yml

View workflow job for this annotation

GitHub Actions / ansible lint

command-instead-of-module

service used in place of service module

Check failure on line 8 in handlers/main.yml

View workflow job for this annotation

GitHub Actions / ansible lint

command-instead-of-module

service used in place of service module
ansible.builtin.command: service configd restart

# alias
# alias handlers
# see: src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasController.php
# api endpoint /api/firewall/alias/reconfigure
- name: template reload OPNsense/Filter # noqa no-changed-when
ansible.builtin.command: configctl template reload OPNsense/Filter
listen:
Expand Down

0 comments on commit 8b05aec

Please sign in to comment.