Bartek Grzybowski | 4e2e9e8 | 2019-03-13 09:33:53 +0100 | [diff] [blame] | 1 | --- |
| 2 | # Purpose of this role is to check whether configured repositories are working. |
| 3 | # |
| 4 | # Successfull prior invocation of 'package-repository' role on 'infrastructure' hosts |
| 5 | # is prerequisite for playing this one on 'infrastructure' group. |
| 6 | # |
| 7 | # Successfull prior invocation of 'package-repository' and 'nginx' role on infrastructure hosts |
| 8 | # is prerequisite for playing this one on 'kubernetes' group. |
| 9 | |
| 10 | #Set of tasks designated to failing fast if configured repos are not functioning properly |
| 11 | - include_tasks: "{{ ansible_os_family }}.yml" |
| 12 | when: ansible_os_family == 'RedHat' |