nginx-proxy work - machinectl

This commit is contained in:
Mike Holloway committed 2024-09-20 03:23:14 -04:00
1 parent 556f3dd94f
commit d7ccfbc37b
1 file changed
+7 -2
+7 -2
View File
@@ -28,8 +28,13 @@
path: "/home/{{ item }}/.bashrc" path: "/home/{{ item }}/.bashrc"
regexp: '^alias su=' regexp: '^alias su='
line: "alias su=\"machinectl shell --uid\"" 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 - name: Enable permissive_container_t SELinux Context
selinux_permissive: selinux_permissive:
name: container_t name: container_t