MrMEEE / awx-rpm-v2

AWX-RPM Reignited
GNU Affero General Public License v3.0
33 stars 9 forks source link

failed: Enable lingering for awx #25

Closed zlwu closed 3 months ago

zlwu commented 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?

The changed code looks like:


- name: Enable lingering for awx
  ansible.builtin.shell: loginctl enable-linger awx
  become: true
MrMEEE commented 3 months ago

You are completely correct.. I don't remember why this was ever implemented in this way.. Fixed and thanks