1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_base.git synced 2024-08-16 14:29:50 +02:00
ansible_role_base/tasks/editor.yml
L3D 2814ffcfee
resolve yamllint
- add yamllint
- remove travis
- cleanup
2021-01-18 10:47:52 +01:00

24 lines
559 B
YAML

---
- name: vim is our editor
become: true
alternatives:
name: editor
path: /usr/bin/vim.basic
when:
- editor_is_vim | bool
- ansible_distribution != 'CentOS'
- ansible_distribution != 'RedHat'
- ansible_distribution != 'Archlinux'
ignore_errors: true
- 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'
- ansible_distribution == 'Archlinux'
ignore_errors: true