File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ alwaysApply: true
4545 Suse:
4646 - foobar
4747
48- xyz_packages: "{{ _xyz_packages[ansible_os_family] | default(_xyz_packages['default']) }}"
48+ xyz_packages: "{{ _xyz_packages[ansible_facts['os_family']] | default(_xyz_packages['default']) }}"
49+
4950 ```
5051
5152 This pattern can be used for all kinds of things, such as:
Original file line number Diff line number Diff line change @@ -208,8 +208,8 @@ logrotate_dateext: false
208208logrotate_create : true
209209
210210# User/Group for rotated log files (Loaded by OS-Specific vars if found, or and can be set manually)
211- logrotate_user : " {{ _logrotate_user[ansible_distribution ] | default(_logrotate_user['default']) }}"
212- logrotate_group : " {{ _logrotate_group[ansible_distribution ] | default(_logrotate_group['default']) }}"
211+ logrotate_user : " {{ _logrotate_user[ansible_facts['distribution'] ] | default(_logrotate_user['default']) }}"
212+ logrotate_group : " {{ _logrotate_group[ansible_facts['distribution'] ] | default(_logrotate_group['default']) }}"
213213
214214# Set the state of the service
215215logrotate_service_state : " started"
@@ -243,7 +243,7 @@ This role has been tested on these [container images](https://hub.docker.com/u/r
243243|container|tags|
244244|---------|----|
245245|[Alpine](https://hub.docker.com/r/robertdebock/alpine)|all|
246- |[EL](https://hub.docker.com/r/robertdebock/enterpriselinux)|9 |
246+ |[EL](https://hub.docker.com/r/robertdebock/enterpriselinux)|all |
247247|[Debian](https://hub.docker.com/r/robertdebock/debian)|all|
248248|[Fedora](https://hub.docker.com/r/robertdebock/fedora)|all|
249249|[Ubuntu](https://hub.docker.com/r/robertdebock/ubuntu)|all|
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ galaxy_info:
1313 - all
1414 - name : EL
1515 versions :
16- - " 9 "
16+ - all
1717 - name : Debian
1818 versions :
1919 - all
You can’t perform that action at this time.
0 commit comments