diff --git a/hosts/all.yaml b/hosts/all.yaml index fc76f7d771ac277aeff0aad5d5cad56983d50031..1ed05505285634fcb6549389b880bde867551b1c 100644 --- a/hosts/all.yaml +++ b/hosts/all.yaml @@ -3,7 +3,7 @@ all: hosts: ns1: ansible_host: ns1.shore.co.il - ansible_become_method: doas + ansible_become_method: community.general.doas ns4: ansible_host: ns4.shore.co.il kodi: diff --git a/roles/router/handlers/main.yaml b/roles/router/handlers/main.yaml index 7e6d466f9d27e455b5d1e53700153285cc7884e3..cf1a5576e83c1d45c5a746b51296bd3c35318b39 100644 --- a/roles/router/handlers/main.yaml +++ b/roles/router/handlers/main.yaml @@ -41,11 +41,6 @@ name: spamd state: restarted -- name: Restart Nginx - service: - name: nginx - state: restarted - - name: Restart the BGP daemon service: name: bgpd diff --git a/roles/router/tasks/main.yaml b/roles/router/tasks/main.yaml index a5f38f265a54803a2a15eea30833386b9451fc4f..221bbd16979a367283f7db0e3ec8abe14f6b9f74 100644 --- a/roles/router/tasks/main.yaml +++ b/roles/router/tasks/main.yaml @@ -3,7 +3,7 @@ ignore_errors: true with_dict: net.inet.ip.forwarding: "1" - sysctl: + ansible.posix.sysctl: name: '{{ item.key }}' value: '{{ item.value }}' tags: @@ -167,7 +167,7 @@ - curl - git - go - openbsd_pkg: + community.general.openbsd_pkg: name: '{{ item }}' state: present tags: