Escaping quotes

This commit is contained in:
Mike Holloway committed 2024-09-20 03:49:58 -04:00
1 parent 2038ba7a77
commit 9768c23ca4
1 file changed
+2 -2
+2 -2
View File
@@ -32,8 +32,8 @@
- lineinfile: - lineinfile:
path: "/root/.bashrc" path: "/root/.bashrc"
regexp: '^alias su=' regexp: '^su() '
line: "alias su=\"machinectl shell --uid\"" line: "su() { if [[ $1 == \"-\" ]]; then command machinectl shell --uid \"$2\"; else command machinectl shell --uid \"$1\"; fi; }"
- name: Enable permissive_container_t SELinux Context - name: Enable permissive_container_t SELinux Context
selinux_permissive: selinux_permissive: