From d39074a8e65f1d2b5bce155b257ab85abcfde302 Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 17 May 2021 03:45:48 +0200 Subject: [PATCH] open firewall port for bgpd --- tasks/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index f19c77f..ba82ad1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,3 +1,8 @@ +- firewalld: + port: 179/tcp + permanent: true + state: enabled + - name: Check if gobgpd is installed. command: gobgpd --version register: gobgpd_exits_result @@ -15,4 +20,4 @@ - import_tasks: common.yml when: (gobgp_exits_result.failed) and (gobgpd_exits_result.failed) -- import_tasks: generate_config.yml \ No newline at end of file +- import_tasks: generate_config.yml