small refactoring
This commit is contained in:
parent
fff2b96f3e
commit
301565018a
@ -1,3 +1,4 @@
|
||||
---
|
||||
- include_vars: "os_{{ ansible_os_family }}.yml"
|
||||
- include_vars: "os_{{ ansible_os_family | lower }}.yml"
|
||||
|
||||
- import_tasks: setup.yml
|
@ -1,10 +1,9 @@
|
||||
---
|
||||
- name: Setup vim environment
|
||||
block:
|
||||
- block:
|
||||
- name: Installing vim
|
||||
package:
|
||||
name: "{{ vim_package_name }}"
|
||||
state: latest
|
||||
state: present
|
||||
|
||||
- name: Creating configuration directory
|
||||
file:
|
||||
@ -32,3 +31,4 @@
|
||||
endif
|
||||
when: ansible_os_family == "RedHat"
|
||||
become: True
|
||||
become_user: root
|
||||
|
Loading…
Reference in New Issue
Block a user