Skip to content

Commit

Permalink
Update local.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaweees committed May 18, 2024
1 parent 4bb7921 commit 68f4037
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 14 deletions.
21 changes: 10 additions & 11 deletions local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
personal: "{{ lookup('env', 'HOME') }}/personal"

pre_tasks:
- name: Add non-free, contrib repos
- name: Add non-free, contrib repos
become: true
replace:
path: /etc/apt/sources.list
Expand All @@ -22,16 +22,15 @@
tags:
- minimal-install
- install
- name: Update Apt cache
become: true
apt:
force_apt_get: true
update_cache: true
state: present
tags:
- minimal-install
- install

- name: Update Apt cache
become: true
apt:
force_apt_get: true
update_cache: true
state: present
tags:
- minimal-install
- install
tasks:
- include: tasks/ssh.yml
- include: tasks/core-setup.yml
Expand Down
1 change: 0 additions & 1 deletion tasks/core-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
- man
- network-manager # nmtui
- network-manager-gnome # nm-connection-editor
- nvidia-driver
- ripgrep
- stow
- sudo
Expand Down
16 changes: 14 additions & 2 deletions tasks/neovim-setup.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: Download neovim
become: true
ansible.builtin.shell:
cmd: "curl https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz"
cmd: "curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz"
tags:
- minimal-install
- install
Expand All @@ -23,7 +23,7 @@
- install
- neovim
- name: Change neovim directory to read and execute for everyone
become: true
become: true
ansible.builtin.shell:
cmd: "chmod a+rX /opt/nvim-linux64"
tags:
Expand Down Expand Up @@ -51,4 +51,16 @@ become: true
git:
repo: https://github.com/wbthomason/packer.nvim
dest: ~/.local/share/nvim/site/pack/packer/start/packer.nvim
tags:
- minimal-install
- install
- neovim
- name: Remove downloaded neovim archive
become: true
ansible.builtin.shell:
cmd: "rm -rf nvim-linux64.tar.gz"
tags:
- minimal-install
- install
- neovim

0 comments on commit 68f4037

Please sign in to comment.