2019-07-15 23:07:17 +02:00
|
|
|
---
|
|
|
|
- name: vim is our editor
|
|
|
|
become: true
|
2021-03-12 22:18:54 +01:00
|
|
|
community.general.alternatives:
|
2019-07-15 23:07:17 +02:00
|
|
|
name: editor
|
|
|
|
path: /usr/bin/vim.basic
|
2019-07-16 16:53:03 +02:00
|
|
|
when:
|
2021-09-01 02:50:17 +02:00
|
|
|
- base__install_vim | bool
|
2019-07-16 16:53:03 +02:00
|
|
|
- ansible_distribution != 'CentOS'
|
|
|
|
- ansible_distribution != 'RedHat'
|
2020-10-27 17:18:59 +01:00
|
|
|
- ansible_distribution != 'Archlinux'
|
2021-08-17 12:40:33 +02:00
|
|
|
failed_when: false
|
2019-07-16 16:53:03 +02:00
|
|
|
|
|
|
|
- name: vim is our editor
|
|
|
|
become: true
|
2021-03-12 22:18:54 +01:00
|
|
|
community.general.alternatives:
|
2019-07-16 16:53:03 +02:00
|
|
|
name: editor
|
|
|
|
path: /usr/bin/vim
|
|
|
|
when:
|
2021-09-01 02:50:17 +02:00
|
|
|
- base__install_vim | bool
|
2019-07-16 16:53:03 +02:00
|
|
|
- ansible_distribution == 'CentOS'
|
|
|
|
- ansible_distribution == 'RedHat'
|
2020-10-27 17:18:59 +01:00
|
|
|
- ansible_distribution == 'Archlinux'
|
2021-08-17 12:40:33 +02:00
|
|
|
failed_when: false
|