Make dictionaries maintainable

This commit is contained in:
2020-03-28 17:31:55 -05:00
parent 83ebd1d6a1
commit c0de694b12
2 changed files with 7 additions and 3 deletions

View File

@@ -14,7 +14,9 @@
name: '{{ item.name }}'
state: '{{ item.state }}'
loop:
- { enabled: 'yes', name: 'acpid', state: 'started' }
- enabled: 'yes'
name: 'acpid'
state: 'started'
loop_control:
label: '{{ item.name }} will be {{ item.state }}'