Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Pipeline #515 passed
......@@ -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:
......
......@@ -41,11 +41,6 @@
name: spamd
state: restarted
- name: Restart Nginx
service:
name: nginx
state: restarted
- name: Restart the BGP daemon
service:
name: bgpd
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment