Debian Codegraph @

test/integration/targets/inventory/strategy.yml

raw
1 - name: Check that 'invalid' group works, problem exposed in #58980
2 hosts: localhost
3 tasks:
4 - name: add a host to a group, that has - to trigger substitution
5 add_host:
6 name: localhost
7 groups: Not-Working
8
9 - name: group hosts by distribution, with dash to trigger substitution
10 group_by:
11 key: "{{ ansible_distribution }}-{{ ansible_distribution_version }}"
12 changed_when: false