Newer
Older
- name: Include create_users_json.yml
import_playbook: create_users_json.yml
hosts: ipaserver
become: true
gather_facts: false
tasks:
- name: Include users.json
file: users.json
- name: Users absent len:{{ users | length }}
ipauser:
ipaadmin_password: SomeADMINpassword
users: "{{ users | json_query('[*].{name: name}') }}"