You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 line
258B

  1. ---
  2. - name: home directory
  3. file:
  4. path: "{{ users[item].home | default('/home/'+item) }}"
  5. owner: "{{ item }}"
  6. group: "{{ item }}"
  7. mode: "{{ users[item].homedir_mode | default(700) }}"
  8. state: directory
  9. with_items: "{{ users.keys() }}"