ansible-lint recommendations
activate privilege escalation when changing users
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
---
|
||||
|
||||
- name: Copy SSH config/keys
|
||||
become: true
|
||||
become_user: "{{ main_user }}"
|
||||
copy:
|
||||
src: "ssh/"
|
||||
dest: "~/.ssh/"
|
||||
mode: "0600"
|
||||
directory_mode: true
|
||||
become_user: "{{ main_user }}"
|
||||
|
||||
Reference in New Issue
Block a user