mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
update group_by example
This commit is contained in:
parent
ca822045e2
commit
bacb6644db
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
tasks:
|
||||
|
||||
- name: Create a group of all hosts by operating system
|
||||
action: group_by key=${ansible_distribution}-${ansible_distribution_version}
|
||||
action: group_by key={{ansible_distribution}}-{{ansible_distribution_version}}
|
||||
|
||||
# the following host group does not exist in inventory and was created by the group_by
|
||||
# module.
|
||||
|
|
Loading…
Reference in a new issue