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