2019-07-15 23:07:17 +02:00
|
|
|
---
|
|
|
|
- name: vim is our editor
|
|
|
|
become: true
|
|
|
|
alternatives:
|
|
|
|
name: editor
|
|
|
|
path: /usr/bin/vim.basic
|
2019-07-16 16:53:03 +02:00
|
|
|
when:
|
|
|
|
- editor_is_vim | bool
|
|
|
|
- ansible_distribution != 'CentOS'
|
|
|
|
- ansible_distribution != 'RedHat'
|
2020-10-27 17:18:59 +01:00
|
|
|
- ansible_distribution != 'Archlinux'
|
2021-01-18 10:47:52 +01:00
|
|
|
ignore_errors: true
|
2019-07-16 16:53:03 +02:00
|
|
|
|
|
|
|
- name: vim is our editor
|
|
|
|
become: true
|
|
|
|
alternatives:
|
|
|
|
name: editor
|
|
|
|
path: /usr/bin/vim
|
|
|
|
when:
|
|
|
|
- editor_is_vim | bool
|
|
|
|
- ansible_distribution == 'CentOS'
|
|
|
|
- ansible_distribution == 'RedHat'
|
2020-10-27 17:18:59 +01:00
|
|
|
- ansible_distribution == 'Archlinux'
|
2021-01-18 10:47:52 +01:00
|
|
|
ignore_errors: true
|