Skip to content

Commit

Permalink
cleanup so tasks don't run everytime
Browse files Browse the repository at this point in the history
  • Loading branch information
compscidr committed Sep 23, 2021
1 parent 58cc098 commit 524a66b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Empty file.
6 changes: 3 additions & 3 deletions ansible/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion ansible/roles/development/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 524a66b

Please sign in to comment.