additional course material RH294
Olaf Bohlen
2020-08-20 1de6236f80a879ca110981fe0e5c0c05c521225b
commit | author | age
1de623 1 ---
OB 2 - hosts: all
3
4   pre_tasks:
5     - name: Update apt cache.
6       apt: update_cache=yes cache_valid_time=600
7       when: ansible_os_family == 'Debian'
8
9     - name: Clear out repo for Fedora.
10       set_fact:
11         redis_enablerepo: ""
12       when: ansible_distribution == 'Fedora'
13
14   roles:
15     - role_under_test