--- - name: change expire time for user scan to (date given in epoch time) hosts: all become: true collections: - ansible.builtin.user tasks: - name: description of task user: name: scan expires: '{{ epoch_time_for_expiration }}' state: "present" password: "$6$0000000000000000$00000000000000000000000000000000000000000000000000000000000000000000000000000000000000" update_password: "Always" - debug: var: uptimeoutput.stdout_lines