From 5d94248fec97654a3d978e5ff413f17be5f12468 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 27 Apr 2022 08:34:48 +0100 Subject: [PATCH] feat(role): add neovim-packer Automatically install Packer for installing Neovim plugins. --- group_vars/all | 1 + roles/neovim-packer/tasks/main.yaml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 roles/neovim-packer/tasks/main.yaml diff --git a/group_vars/all b/group_vars/all index 0e5fed6..881858b 100644 --- a/group_vars/all +++ b/group_vars/all @@ -14,6 +14,7 @@ default_roles: - npm - neovim - neovim-lsp + - neovim-packer - notion-app - platformsh-cli - pv diff --git a/roles/neovim-packer/tasks/main.yaml b/roles/neovim-packer/tasks/main.yaml new file mode 100644 index 0000000..68584cd --- /dev/null +++ b/roles/neovim-packer/tasks/main.yaml @@ -0,0 +1,7 @@ +--- +- name: Install + ansible.builtin.git: + depth: 1 + dest: "{{ ansible_user_dir }}/.local/share/nvim/site/pack/packer/start/packer.nvim" + repo: https://github.com/wbthomason/packer.nvim + single_branch: true