Skip to content
Snippets Groups Projects
Commit 5a682eef authored by Kang Liu's avatar Kang Liu
Browse files

A few words

parent 28bd5430
No related merge requests found
- name: Change expiration of system users
- name: Set expiration for system users
become: yes
shell: |
chage -l {{ item.username }} && chage -M {{ expiration_days | default(90) }} {{ item.username }} || true
......@@ -7,4 +7,4 @@
with_items:
- "{{ users }}"
loop_control:
label: "Try to change expiration for {{ item.username }}: {{ expiration_days | default(90) }} days."
\ No newline at end of file
label: "Try to set expiration for {{ item.username }}: {{ expiration_days | default(90) }} days."
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment