From c271161f9699c6d91da9f9cd91f773eef22422e1 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 30 Jan 2023 21:33:14 +0200 Subject: [PATCH] fix regexp --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index 8cf0818..eee2fdb 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -188,7 +188,7 @@ ansible.builtin.lineinfile: path: /etc/aliases line: "{{ item.user }}: {{ item.alias }}" - match: "^{{ item.user }}: " + regexp: "^{{ item.user }}: " loop: "{{ local_aliases }}" notify: Refresh aliases ###################