summaryrefslogtreecommitdiffstats
path: root/roles/user/handlers/main.yml
blob: 2d9b6c32979e0d104750eaddf2e891a0861e78c5 (plain) (blame)
1
2
3
4
5
6
7
---
- name: "Require password change"
  become: true
  ansible.builtin.command:
    cmd: chage -d 0 "{{ username }}"
  changed_when: true
  when: user.changed