main.yml 392 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
---
- name: activate user
  ipa_user:
    ipa_host: "{{ ipaserver1 }}"
    ipa_pass: "{{ ipa_admin_pass }}"
    uid: "{{ item.name }}"
    mail: "{{ item.email }}"
    state: "{{ item.state }}"
    displayname: "{{ item.name }}"
    givenname: "{{ item.firstname }}"
    # sn: "{{ item.name }}"
    uidnumber: "{{ item.uid }}"
    gidnumber: "{{ gid }}"
  with_items:
15
    - "{{ ipa_users }}"