Escaping quotes

master
Mike Holloway 2 months ago
parent 2038ba7a77
commit 9768c23ca4
  1. 4
      tasks/main.yml

@ -32,8 +32,8 @@
- lineinfile:
path: "/root/.bashrc"
regexp: '^alias su='
line: "alias su=\"machinectl shell --uid\""
regexp: '^su() '
line: "su() { if [[ $1 == \"-\" ]]; then command machinectl shell --uid \"$2\"; else command machinectl shell --uid \"$1\"; fi; }"
- name: Enable permissive_container_t SELinux Context
selinux_permissive:

Loading…
Cancel
Save