Commit 8c4ba8d5 authored by nimrod's avatar nimrod
Browse files

Router role updates.

- Use the newer Ansible 2.10 module names.
- Remove Nginx handler, Nginx was moved to host01.
- Use the newer Ansible 2.10 OpenBSD doas become module name.
parent 415e3e43
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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:
+0 −5
Original line number Diff line number Diff line
@@ -41,11 +41,6 @@
    name: spamd
    state: restarted

- name: Restart Nginx
  service:
    name: nginx
    state: restarted

- name: Restart the BGP daemon
  service:
    name: bgpd
+2 −2
Original line number Diff line number Diff line
@@ -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: