Closed zlwu closed 3 months ago
https://github.com/MrMEEE/awx-rpm-v2/blob/4f73517d7a1844dd583a7837e233257dd292e238/ansible/awx-rpm/tasks/main.yml#L174
In my system user awx id is 988. Why not change to loginctl enable-linger awx directly?
loginctl enable-linger awx
The changed code looks like:
- name: Enable lingering for awx ansible.builtin.shell: loginctl enable-linger awx become: true
You are completely correct.. I don't remember why this was ever implemented in this way.. Fixed and thanks
https://github.com/MrMEEE/awx-rpm-v2/blob/4f73517d7a1844dd583a7837e233257dd292e238/ansible/awx-rpm/tasks/main.yml#L174
In my system user awx id is 988. Why not change to
loginctl enable-linger awx
directly?The changed code looks like: