diff options
Diffstat (limited to 'roles/custom-config/tasks/main.yml')
-rw-r--r-- | roles/custom-config/tasks/main.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/roles/custom-config/tasks/main.yml b/roles/custom-config/tasks/main.yml index ec55f0e..0b3dee5 100644 --- a/roles/custom-config/tasks/main.yml +++ b/roles/custom-config/tasks/main.yml @@ -91,7 +91,7 @@ insertafter: EOF owner: "{{ item }}" block: | - if [ -f ~/.zsh_functions]; then + if [ -f ~/.zsh_functions ]; then source ~/.zsh_functions fi @@ -104,6 +104,13 @@ mode: '0640' loop: "{{ users.stdout_lines }}" +- name: Enable SSH Subshell + ansible.builtin.lineinfile: + path: /etc/ssh/ssh_config + state: present + insertafter: EOF + line: 'EnableEscapeCommandline=yes' + - name: Create /srv/smb/ directory for payload population ansible.builtin.file: path: /srv/smb |