mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-03 20:02:45 +00:00
update group_by example
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user