Adding enable linger for the IaC database accounts

This commit is contained in:
Bradley Bickford 2024-11-11 11:14:39 -05:00
parent c15d583aa6
commit 6d9a9d61fe

View File

@ -33,6 +33,10 @@
comment: "Podman user for Postgresql Database"
uid: 2000
- name: Allow psql user to linger
ansible.builtin.shell:
cmd: "loginctl enable-linger 2000"
- name: Build /pgdata mount
ansible.builtin.import_role:
name: make_lvm_mount
@ -56,6 +60,10 @@
comment: "Podman user for MySQL Database"
uid: 2001
- name: Allow mysql user to linger
ansible.builtin.shell:
cmd: "loginctl enable-linger 2001"
- name: Build /mysql_data mount
ansible.builtin.import_role:
name: make_lvm_mount