mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +02:00
24 lines
557 B
YAML
24 lines
557 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: yes
|
|
|
|
- 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: yes
|