The home dirs live at the /tank/home mountpoint. This change will default to /home unless the host we're running the role against is in the teuthology ansible group.
Fixes: https://tracker.ceph.com/issues/63562
Signed-off-by: David Galloway <david.galloway@ibm.com>
shell: /bin/bash
state: present
append: yes
+ home: "{{ ('teuthology' in group_names) | ternary('/tank/home', '/home') }}/{{ item.name }}"
with_items: "{{ managed_admin_users }}"
- name: Create all users without sudo access.
name: "{{ item.name }}"
shell: /bin/bash
state: present
+ home: "{{ ('teuthology' in group_names) | ternary('/tank/home', '/home') }}/{{ item.name }}"
with_items: "{{ managed_users }}"