From 97a654347fb3aeeb0d1809b6c872ff5439e9de43 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Mon, 19 Dec 2022 23:27:26 +0100 Subject: [PATCH] fix neovim installation again --- README.md | 4 +++- roles/asdf/tasks/main.yml | 3 +-- roles/neovim/tasks/main.yml | 8 +++++++- roles/signal/tasks/main.yml | 3 +-- roles/syncthing/tasks/main.yml | 3 +-- roles/virtualbox/tasks/main.yml | 3 +-- roles/vscodium/tasks/main.yml | 3 +-- roles/zsh/tasks/main.yml | 3 +-- 8 files changed, 16 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 442767f..b58d1f9 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,11 @@ - Cool neovim setup - strawberry - fuzzy find -- keepass config +- keepassxc config - thunderbird config - some kind of tag setup with: bootstrap, update etc +- sync music collection +- nicotine+ Would like Ansible Vault to check in keypair for syncthing. However, then I would need a password to unlock the vault. diff --git a/roles/asdf/tasks/main.yml b/roles/asdf/tasks/main.yml index 3b4b73f..cd5b6c2 100644 --- a/roles/asdf/tasks/main.yml +++ b/roles/asdf/tasks/main.yml @@ -36,8 +36,7 @@ state: present update_cache: true cache_valid_time: 86400 # One day - pkg: - - unzip + name: unzip - name: Install asdf Elixir plugin shell: cmd: "~/.asdf/bin/asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git" diff --git a/roles/neovim/tasks/main.yml b/roles/neovim/tasks/main.yml index 29df9fd..d8b2972 100644 --- a/roles/neovim/tasks/main.yml +++ b/roles/neovim/tasks/main.yml @@ -1,7 +1,13 @@ +- name: Download Neovim PPA signing key + become: true + ansible.builtin.apt_key: + keyserver: keyserver.ubuntu.com + id: 9DBB0BE9366964F134855E2255F96FCF8231B6DD + keyring: /etc/apt/keyrings/neovim.gpg - name: Install Neovim PPA become: true apt_repository: - repo: ppa:neovim-ppa/unstable + repo: "deb [signed-by=/etc/apt/keyrings/neovim.gpg] https://ppa.launchpadcontent.net/neovim-ppa/stable/ubuntu {{ ansible_distribution_release }} main" state: present - name: Install Neovim become: true diff --git a/roles/signal/tasks/main.yml b/roles/signal/tasks/main.yml index dee82c0..6b6f011 100644 --- a/roles/signal/tasks/main.yml +++ b/roles/signal/tasks/main.yml @@ -14,5 +14,4 @@ state: latest update_cache: yes cache_valid_time: 86400 # One day - pkg: - - signal-desktop + name: signal-desktop diff --git a/roles/syncthing/tasks/main.yml b/roles/syncthing/tasks/main.yml index 2114c86..4f20e25 100644 --- a/roles/syncthing/tasks/main.yml +++ b/roles/syncthing/tasks/main.yml @@ -4,8 +4,7 @@ state: latest update_cache: true cache_valid_time: 86400 - pkg: - - syncthing + name: syncthing - name: Create Syncthing configuration directory file: path: ~/.config/syncthing diff --git a/roles/virtualbox/tasks/main.yml b/roles/virtualbox/tasks/main.yml index 641de2f..0421e35 100644 --- a/roles/virtualbox/tasks/main.yml +++ b/roles/virtualbox/tasks/main.yml @@ -14,5 +14,4 @@ state: latest update_cache: yes cache_valid_time: 86400 # One day - pkg: - - virtualbox-6.1 + name: virtualbox-6.1 diff --git a/roles/vscodium/tasks/main.yml b/roles/vscodium/tasks/main.yml index 35e6ed7..3103951 100644 --- a/roles/vscodium/tasks/main.yml +++ b/roles/vscodium/tasks/main.yml @@ -14,8 +14,7 @@ state: latest update_cache: yes cache_valid_time: 86400 # One day - pkg: - codium + name: codium - name: Check VSCodium extensions setup: fact_path: "{{ role_path }}/facts" diff --git a/roles/zsh/tasks/main.yml b/roles/zsh/tasks/main.yml index c575e87..78e97f4 100644 --- a/roles/zsh/tasks/main.yml +++ b/roles/zsh/tasks/main.yml @@ -4,8 +4,7 @@ state: latest update_cache: yes cache_valid_time: 86400 # One day - pkg: - - zsh + name: zsh - name: Set default shell to zsh become: true user: