retries und with_dict
This commit is contained in:
11
roles/with_dict/tasks/main.yml
Normal file
11
roles/with_dict/tasks/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: Benutzer mit bestimmten Shells anlegen
|
||||
vars:
|
||||
users:
|
||||
alice: /bin/bash
|
||||
bob: /bin/zsh
|
||||
carol: /bin/sh
|
||||
|
||||
debug:
|
||||
msg: "Lege neuen User an Name: {{ item.key }} Shell: {{ item.value }}"
|
||||
with_dict: "{{ users }}"
|
||||
|
Reference in New Issue
Block a user