diff --git a/ansible/roles/common/files/ssh/config b/ansible/roles/common/files/ssh/config new file mode 100644 index 0000000..e69de29 diff --git a/ansible/roles/common/tasks/main.yml b/ansible/roles/common/tasks/main.yml index 505f0e4..4509cfa 100644 --- a/ansible/roles/common/tasks/main.yml +++ b/ansible/roles/common/tasks/main.yml @@ -148,9 +148,9 @@ - name: Create /root/.ssh/config file if it does not exist become: true - file: - path: /root/.ssh/config - state: touch + copy: + src: files/ssh/config + dest: /root/.ssh/config mode: '0600' owner: root group: root diff --git a/ansible/roles/development/tasks/main.yml b/ansible/roles/development/tasks/main.yml index 45f9daf..013a07b 100644 --- a/ansible/roles/development/tasks/main.yml +++ b/ansible/roles/development/tasks/main.yml @@ -155,7 +155,7 @@ - name: install bob the fish theme command: fish -c "omf install bobthefish" args: - creates: ~/.local/share/omf/themes/bobthefish/ + creates: /home/jason/.local/share/omf/themes/bobthefish/ become: true become_user: jason @@ -174,10 +174,13 @@ - name: install forgit for fish command: fish -c "omf install https://github.com/wfxr/forgit" + args: + creates: /home/jason/.local/share/omf/pkg/fo become: true become_user: jason # bashrc updates for fzf (see /usr/share/doc/fzf/README.Debian) +# and forgit: https://github.com/wfxr/forgit - name: Update bashrc fzf lineinfile: dest: /home/jason/.bashrc @@ -186,6 +189,7 @@ with_items: - "source /usr/share/doc/fzf/examples/key-bindings.bash" - "source /usr/share/doc/fzf/examples/completion.bash" + - "source <(curl -sSL git.io/forgit)" # bloomrpc - name: install bloomrpc