Skip to content

Commit

Permalink
Disable password expiry for service users
Browse files Browse the repository at this point in the history
  • Loading branch information
marcransome committed Nov 29, 2021
1 parent 17d7557 commit d3c04bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansible/roles/tuxedo/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
system: no
loop: "{{ tuxedo_service_users }}"

- name: Disable password expiry for service users
command: "chage -m 0 -M 99999 -I -1 -E -1 {{ item.name }}"
loop: "{{ tuxedo_service_users }}"

- name: Create Informix group
group:
name: "{{ informix_service_group }}"
Expand All @@ -126,6 +130,9 @@
shell: /bin/bash
system: yes

- name: Disable password expiry for Informix user
command: "chage -m 0 -M 99999 -I -1 -E -1 {{ informix_service_user }}"

- name: Create .bash_profile for service users
template:
src: bash_profile.j2
Expand Down

0 comments on commit d3c04bd

Please sign in to comment.