From 629bb169ac61b7f527ff4749bcf15d3bc2925a40 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Wed, 3 Nov 2021 18:29:04 +0100 Subject: [PATCH] common: unify string escaping style --- roles/common/tasks/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index f40c4f4..ae685b5 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -30,10 +30,10 @@ copy: src={{ item.src }} dest={{ item.dest }} diff: no with_items: - - { src: '.zshrc', dest: '/root/.zshrc' } - - { src: '.zshrc.local', dest: '/root/.zshrc.local' } - - { src: 'motd', dest: '/etc/motd' } - - { src: 'vimrc.local', dest: '/etc/vim/vimrc.local' } + - { src: ".zshrc", dest: "/root/.zshrc" } + - { src: ".zshrc.local", dest: "/root/.zshrc.local" } + - { src: "motd", dest: "/etc/motd" } + - { src: "vimrc.local", dest: "/etc/vim/vimrc.local" } - name: Set shell for root user user: name=root shell=/bin/zsh @@ -52,8 +52,8 @@ - name: Prevent normal users from running su lineinfile: path: /etc/pam.d/su - regexp: '^.*auth\s+required\s+pam_wheel.so$' - line: 'auth required pam_wheel.so' + regexp: "^.*auth\\s+required\\s+pam_wheel.so$" + line: "auth required pam_wheel.so" - name: Configure journald retention lineinfile: