From d7ccfbc37b2694c0abb3522d46615586c2751d0c Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Fri, 20 Sep 2024 03:23:14 -0400 Subject: [PATCH] nginx-proxy work - machinectl --- tasks/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index e0f38b9..e79851a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -28,8 +28,13 @@ path: "/home/{{ item }}/.bashrc" regexp: '^alias su=' line: "alias su=\"machinectl shell --uid\"" - loop: "{{ service_users}}" - + loop: "{{ service_users }}" + +- lineinfile: + path: "/root/.bashrc" + regexp: '^alias su=' + line: "alias su=\"machinectl shell --uid\"" + - name: Enable permissive_container_t SELinux Context selinux_permissive: name: container_t