common: unify string escaping style
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
4c63ba2586
commit
629bb169ac
@ -30,10 +30,10 @@
|
|||||||
copy: src={{ item.src }} dest={{ item.dest }}
|
copy: src={{ item.src }} dest={{ item.dest }}
|
||||||
diff: no
|
diff: no
|
||||||
with_items:
|
with_items:
|
||||||
- { src: '.zshrc', dest: '/root/.zshrc' }
|
- { src: ".zshrc", dest: "/root/.zshrc" }
|
||||||
- { src: '.zshrc.local', dest: '/root/.zshrc.local' }
|
- { src: ".zshrc.local", dest: "/root/.zshrc.local" }
|
||||||
- { src: 'motd', dest: '/etc/motd' }
|
- { src: "motd", dest: "/etc/motd" }
|
||||||
- { src: 'vimrc.local', dest: '/etc/vim/vimrc.local' }
|
- { src: "vimrc.local", dest: "/etc/vim/vimrc.local" }
|
||||||
|
|
||||||
- name: Set shell for root user
|
- name: Set shell for root user
|
||||||
user: name=root shell=/bin/zsh
|
user: name=root shell=/bin/zsh
|
||||||
@ -52,8 +52,8 @@
|
|||||||
- name: Prevent normal users from running su
|
- name: Prevent normal users from running su
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/pam.d/su
|
path: /etc/pam.d/su
|
||||||
regexp: '^.*auth\s+required\s+pam_wheel.so$'
|
regexp: "^.*auth\\s+required\\s+pam_wheel.so$"
|
||||||
line: 'auth required pam_wheel.so'
|
line: "auth required pam_wheel.so"
|
||||||
|
|
||||||
- name: Configure journald retention
|
- name: Configure journald retention
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
Loading…
Reference in New Issue
Block a user