From 7e823002132239fdada055364cd9572bb839c187 Mon Sep 17 00:00:00 2001 From: binary Date: Mon, 14 Dec 2020 21:41:55 +0100 Subject: Migrate neovim agnostic packages --- files/wireguard | 2 +- roles/tools/tasks/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/wireguard b/files/wireguard index 6adef71..ba93c5a 120000 --- a/files/wireguard +++ b/files/wireguard @@ -1 +1 @@ -../../infra_vault/wireguard \ No newline at end of file +../../infra-vault/wireguard \ No newline at end of file diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml index 1e9cabb..fae66c6 100644 --- a/roles/tools/tasks/main.yml +++ b/roles/tools/tasks/main.yml @@ -5,7 +5,7 @@ --- - set_fact: - packages: "{{ packages[os_distribution] }}" + packages: "{{ packages[ansible_distribution | lower] }}" - name: install sysadmin tools package: state=present name="{{ item }}" @@ -19,6 +19,7 @@ - name: install per distribution correspond tools package: state=present name="{{ item }}" loop: + - "{{ packages.neovim }}" - "{{ packages.sshfs }}" - "{{ packages.wireguard }}" - "{{ packages.extra if packages.extra is defined }}" @@ -27,7 +28,6 @@ - name: install misc utils package: state=present name="{{ item }}" loop: - - neovim - figlet - curl - wget -- cgit v1.2.3