Skip to content

Commit

Permalink
Move neovim shell env config to main
Browse files Browse the repository at this point in the history
  • Loading branch information
lyang committed Aug 27, 2023
1 parent 5b6670b commit 04f8c66
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
7 changes: 0 additions & 7 deletions roles/neovim/tasks/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,3 @@
state: link
become: yes

- name: "Config Shell Env"
ansible.builtin.blockinfile:
path: "{{SHARED_ENV_SH.dest}}"
create: yes
marker: "#### {mark} ANSIBLE MANAGED BLOCK - {{playbook_dir|basename}}/roles/{{role_name}} ####"
block: source {{role_path}}/files/nvim.sh

7 changes: 7 additions & 0 deletions roles/neovim/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@
cmd: "nvim -e -u {{role_path}}/files/plugins.vim -i NONE -c PlugInstall -c PlugClean! -c qa"
changed_when: false

- name: "Config Shell Env"
ansible.builtin.blockinfile:
path: "{{SHARED_ENV_SH.dest}}"
create: yes
marker: "#### {mark} ANSIBLE MANAGED BLOCK - {{playbook_dir|basename}}/roles/{{role_name}} ####"
block: source {{role_path}}/files/nvim.sh

2 changes: 1 addition & 1 deletion roles/ohmyzsh/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
state: link
register: P10K_ZSH

- name: "Config Shell Environment"
- name: "Config Shell Env"
ansible.builtin.blockinfile:
path: "{{ZSH_ENV_SH.dest}}"
create: yes
Expand Down

0 comments on commit 04f8c66

Please sign in to comment.