Tobias Trabelsi
7f90530e81
Some checks reported errors
continuous-integration/drone/push Build was killed
18 lines
442 B
YAML
18 lines
442 B
YAML
- name: Load OS Specific Vars
|
|
include_vars: "{{ lookup('first_found', possible_files) }}"
|
|
vars:
|
|
possible_files:
|
|
- "../vars/{{ ansible_distribution }}.yml"
|
|
tags: [ 'install', 'prepare' ]
|
|
|
|
- include_tasks: update-RedHat.yml
|
|
when:
|
|
- ansible_os_family == 'RedHat'
|
|
|
|
- include_tasks: update-Debian.yml
|
|
when:
|
|
- ansible_os_family == 'Debian'
|
|
|
|
- include_tasks: update-Arch.yml
|
|
when:
|
|
- ansible_os_family == 'Archlinux' |