diff options
author | Dan Fedele <dan.fedele@gmail.com> | 2023-11-02 10:45:28 -0400 |
---|---|---|
committer | Dan Fedele <dan.fedele@gmail.com> | 2023-11-02 10:45:28 -0400 |
commit | 843341ecca15d7dd932019cf7d2147c7869046d3 (patch) | |
tree | a4475adafa2fbd1bcd51612d48b87c195d36aa24 | |
parent | dfa9f2398bd614f73a0df92cbcfd561c609a2f3b (diff) |
Enabled SSH Subshell
-rw-r--r-- | roles/custom-config/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/custom-config/tasks/main.yml b/roles/custom-config/tasks/main.yml index ec55f0e..832a64a 100644 --- a/roles/custom-config/tasks/main.yml +++ b/roles/custom-config/tasks/main.yml @@ -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 |