Skip to content

Commit 3322db1

Browse files
committed
Ansible 2.24 ready, and el:10
1 parent 9412130 commit 3322db1

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.cursor/rules/ansible.mdc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ logrotate_dateext: false
208208
logrotate_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
215215
logrotate_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|

meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)