25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
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() }}"