blob: 6da5b7c3f5340653843fbfa6d5ca1a9a37f82abc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---
- hosts: localhost
gather_facts: false
tasks:
- name: Group
group_by:
key: test_{{ inventory_hostname }}
- hosts: test_localhost
gather_facts: false
tasks:
- name: Print
import_tasks: tasks.yml
|