diff options
author | Dan Fedele <dan.fedele@gmail.com> | 2023-11-02 11:56:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-02 11:56:23 -0400 |
commit | ef4b12a695178e697b97702bc7fabdecb6491a85 (patch) | |
tree | df67c4bb5aa0cb14b9173f91b83c80410fa777dd | |
parent | 80cb7147768598e42575868a4662db85717ae95e (diff) | |
parent | c00e983294437c31d225fb052659a979502a7e77 (diff) |
Merge pull request #7 from AgroDan/dev
adding ssh subshell config
-rw-r--r-- | roles/custom-config/tasks/main.yml | 9 | ||||
-rw-r--r-- | roles/package-mgmt/tasks/main.yml | 1 |
2 files changed, 9 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 diff --git a/roles/package-mgmt/tasks/main.yml b/roles/package-mgmt/tasks/main.yml index c68f088..007bf52 100644 --- a/roles/package-mgmt/tasks/main.yml +++ b/roles/package-mgmt/tasks/main.yml @@ -49,6 +49,7 @@ - curl - default-jdk - default-jre + - docker-ce - docker-compose - eog - feroxbuster |