summaryrefslogtreecommitdiffstats
path: root/ansible/roles/package-repository-check/tasks/main.yml
blob: ac63eceb614ff62718db25d503ee78e3a7c11677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
# Purpose of this role is to check whether configured repositories are working.
#
# Successfull prior invocation of 'package-repository' role on 'infrastructure' hosts
# is prerequisite for playing this one on 'infrastructure' group.
#
# Successfull prior invocation of 'package-repository' and 'nginx' role on infrastructure hosts
# is prerequisite for playing this one on 'kubernetes' group.

#Set of tasks designated to failing fast if configured repos are not functioning properly
- include_tasks: "{{ ansible_os_family }}.yml"
  when: ansible_os_family == 'RedHat'