Slightly clean up user name vs service name
This commit is contained in:
parent
ba2da1bde6
commit
c7260aa993
@ -52,7 +52,7 @@
|
|||||||
- name: "get service status"
|
- name: "get service status"
|
||||||
ansible.builtin.command: >-
|
ansible.builtin.command: >-
|
||||||
systemctl --user show --property ActiveState --value
|
systemctl --user show --property ActiveState --value
|
||||||
{{ services_service_user_name }}.service
|
pod-{{ services_service_name }}.service
|
||||||
environment:
|
environment:
|
||||||
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
- name: "get service status"
|
- name: "get service status"
|
||||||
ansible.builtin.command: >-
|
ansible.builtin.command: >-
|
||||||
systemctl --user show --property ActiveState --value
|
systemctl --user show --property ActiveState --value
|
||||||
{{ services_service_user_name }}.service
|
pod-{{ services_service_name }}.service
|
||||||
environment:
|
environment:
|
||||||
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
- name: "get service status"
|
- name: "get service status"
|
||||||
ansible.builtin.command: >-
|
ansible.builtin.command: >-
|
||||||
systemctl --user show --property ActiveState --value
|
systemctl --user show --property ActiveState --value
|
||||||
{{ services_service_user_name }}.service
|
pod-{{ services_service_name }}.service
|
||||||
environment:
|
environment:
|
||||||
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
- name: "get service status"
|
- name: "get service status"
|
||||||
ansible.builtin.command: >-
|
ansible.builtin.command: >-
|
||||||
systemctl --user show --property ActiveState --value
|
systemctl --user show --property ActiveState --value
|
||||||
{{ services_service_user_name }}.service
|
pod-{{ services_service_name }}.service
|
||||||
environment:
|
environment:
|
||||||
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
- name: "get service status"
|
- name: "get service status"
|
||||||
ansible.builtin.command: >-
|
ansible.builtin.command: >-
|
||||||
systemctl --user show --property ActiveState --value
|
systemctl --user show --property ActiveState --value
|
||||||
{{ services_service_user_name }}.service
|
pod-{{ services_service_name }}.service
|
||||||
environment:
|
environment:
|
||||||
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
- name: "{{ services_service_name }} : get service status"
|
- name: "{{ services_service_name }} : get service status"
|
||||||
ansible.builtin.command: >-
|
ansible.builtin.command: >-
|
||||||
systemctl --user show --property ActiveState --value
|
systemctl --user show --property ActiveState --value
|
||||||
{{ services_service_user_name }}.service
|
pod-{{ services_service_name }}.service
|
||||||
environment:
|
environment:
|
||||||
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
- name: "get service status"
|
- name: "get service status"
|
||||||
ansible.builtin.command: >-
|
ansible.builtin.command: >-
|
||||||
systemctl --user show --property ActiveState --value
|
systemctl --user show --property ActiveState --value
|
||||||
{{ services_service_user_name }}.service
|
pod-{{ services_service_name }}.service
|
||||||
environment:
|
environment:
|
||||||
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
XDG_RUNTIME_DIR: "/run/user/{{ getent_passwd[services_service_user_name].1 }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
Loading…
Reference in New Issue
Block a user