From 28d71ca2538379925927b208ac9660350b1cf4b6 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Sat, 24 Aug 2024 18:30:00 +0200 Subject: [PATCH] openssh: Add rc_need='net.lo' to service --- openssh/service.ansible.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openssh/service.ansible.yml b/openssh/service.ansible.yml index 6413ed5..9120b7f 100644 --- a/openssh/service.ansible.yml +++ b/openssh/service.ansible.yml @@ -5,3 +5,9 @@ name: sshd state: started enabled: true + - name: Require lo interface + lineinfile: + state: present + path: /etc/conf.d/sshd + insertafter: EOF + line: rc_need="net.lo"