added new roles
This commit is contained in:
1 parent
d10d28a0d7
commit
04bfb22e48
73 files changed
+990
-96
No files matched your search
@@ -0,0 +1,16 @@
|
||||
---
|
||||
- name: set authorized key
|
||||
ansible.posix.authorized_key:
|
||||
user: "{{ work_user }}"
|
||||
key: "{{ work_ssh_key }}"
|
||||
when: work_ssh_key | length > 0
|
||||
|
||||
- name: deploy sshd config
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/ssh/sshd_config.d/00-work.conf
|
||||
content: |
|
||||
StreamLocalBindUnlink yes
|
||||
AllowStreamLocalForwarding yes
|
||||
SetEnv PULSE_SERVER=unix:/tmp/pulse.sock
|
||||
mode: "0644"
|
||||
notify: restart sshd
|
||||
Reference in new issue
Block a user