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
Branches
No related tags found
No related merge requests found
Pipeline #515 passed
...@@ -3,7 +3,7 @@ all: ...@@ -3,7 +3,7 @@ all:
hosts: hosts:
ns1: ns1:
ansible_host: ns1.shore.co.il ansible_host: ns1.shore.co.il
ansible_become_method: doas ansible_become_method: community.general.doas
ns4: ns4:
ansible_host: ns4.shore.co.il ansible_host: ns4.shore.co.il
kodi: kodi:
......
...@@ -41,11 +41,6 @@ ...@@ -41,11 +41,6 @@
name: spamd name: spamd
state: restarted state: restarted
- name: Restart Nginx
service:
name: nginx
state: restarted
- name: Restart the BGP daemon - name: Restart the BGP daemon
service: service:
name: bgpd name: bgpd
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
ignore_errors: true ignore_errors: true
with_dict: with_dict:
net.inet.ip.forwarding: "1" net.inet.ip.forwarding: "1"
sysctl: ansible.posix.sysctl:
name: '{{ item.key }}' name: '{{ item.key }}'
value: '{{ item.value }}' value: '{{ item.value }}'
tags: tags:
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
- curl - curl
- git - git
- go - go
openbsd_pkg: community.general.openbsd_pkg:
name: '{{ item }}' name: '{{ item }}'
state: present state: present
tags: tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment