diff --git a/playbooks/roles/services/deploy/cloud/tasks/main.yml b/playbooks/roles/services/deploy/cloud/tasks/main.yml index 4cdb754..af43f06 100644 --- a/playbooks/roles/services/deploy/cloud/tasks/main.yml +++ b/playbooks/roles/services/deploy/cloud/tasks/main.yml @@ -52,7 +52,7 @@ - name: "get service status" ansible.builtin.command: >- systemctl --user show --property ActiveState --value - {{ services_service_user_name }}.service + pod-{{ services_service_name }}.service environment: XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}" changed_when: false diff --git a/playbooks/roles/services/deploy/database/tasks/main.yml b/playbooks/roles/services/deploy/database/tasks/main.yml index ea6efe5..db1ab1e 100644 --- a/playbooks/roles/services/deploy/database/tasks/main.yml +++ b/playbooks/roles/services/deploy/database/tasks/main.yml @@ -38,7 +38,7 @@ - name: "get service status" ansible.builtin.command: >- systemctl --user show --property ActiveState --value - {{ services_service_user_name }}.service + pod-{{ services_service_name }}.service environment: XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}" changed_when: false diff --git a/playbooks/roles/services/deploy/git/tasks/main.yml b/playbooks/roles/services/deploy/git/tasks/main.yml index db4f6f9..a59c89e 100644 --- a/playbooks/roles/services/deploy/git/tasks/main.yml +++ b/playbooks/roles/services/deploy/git/tasks/main.yml @@ -31,7 +31,7 @@ - name: "get service status" ansible.builtin.command: >- systemctl --user show --property ActiveState --value - {{ services_service_user_name }}.service + pod-{{ services_service_name }}.service environment: XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}" changed_when: false diff --git a/playbooks/roles/services/deploy/music/tasks/main.yml b/playbooks/roles/services/deploy/music/tasks/main.yml index 24c3bc9..2992df5 100644 --- a/playbooks/roles/services/deploy/music/tasks/main.yml +++ b/playbooks/roles/services/deploy/music/tasks/main.yml @@ -32,7 +32,7 @@ - name: "get service status" ansible.builtin.command: >- systemctl --user show --property ActiveState --value - {{ services_service_user_name }}.service + pod-{{ services_service_name }}.service environment: XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}" changed_when: false diff --git a/playbooks/roles/services/deploy/notes/tasks/main.yml b/playbooks/roles/services/deploy/notes/tasks/main.yml index dedd78d..354925c 100644 --- a/playbooks/roles/services/deploy/notes/tasks/main.yml +++ b/playbooks/roles/services/deploy/notes/tasks/main.yml @@ -32,7 +32,7 @@ - name: "get service status" ansible.builtin.command: >- systemctl --user show --property ActiveState --value - {{ services_service_user_name }}.service + pod-{{ services_service_name }}.service environment: XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}" changed_when: false diff --git a/playbooks/roles/services/deploy/rproxy/tasks/main.yml b/playbooks/roles/services/deploy/rproxy/tasks/main.yml index 7c5d356..d9e3b58 100644 --- a/playbooks/roles/services/deploy/rproxy/tasks/main.yml +++ b/playbooks/roles/services/deploy/rproxy/tasks/main.yml @@ -81,7 +81,7 @@ - name: "{{ services_service_name }} : get service status" ansible.builtin.command: >- systemctl --user show --property ActiveState --value - {{ services_service_user_name }}.service + pod-{{ services_service_name }}.service environment: XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}" changed_when: false diff --git a/playbooks/roles/services/deploy/www/tasks/main.yml b/playbooks/roles/services/deploy/www/tasks/main.yml index 2376b7b..c088e78 100644 --- a/playbooks/roles/services/deploy/www/tasks/main.yml +++ b/playbooks/roles/services/deploy/www/tasks/main.yml @@ -73,7 +73,7 @@ - name: "get service status" ansible.builtin.command: >- systemctl --user show --property ActiveState --value - {{ services_service_user_name }}.service + pod-{{ services_service_name }}.service environment: XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}" changed_when: false