diff options
author | binary <me@rgoncalves.se> | 2020-12-14 21:41:55 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-12-14 21:41:55 +0100 |
commit | 7e823002132239fdada055364cd9572bb839c187 (patch) | |
tree | 3b5e8595349a2de10280171ad03e57f52f7f0e34 /roles/tools/tasks | |
parent | a329d865b7430c0f642f4625eb4e66dad5556fc4 (diff) | |
download | infrastructure-7e823002132239fdada055364cd9572bb839c187.tar.gz |
Migrate neovim agnostic packages
Diffstat (limited to 'roles/tools/tasks')
-rw-r--r-- | roles/tools/tasks/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
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 |