Skip to content

Commit

Permalink
roles/webdav: fixed some ansible lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Rodier committed Dec 29, 2023
1 parent 3f02669 commit 5a5c4ce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions roles/webdav/tasks/install/user-setup-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@

- name: Get the user ID
register: id_cmd
shell: id -u {{ user.uid }}
ansible.builtin.shell: id -u {{ user.uid }}
changed_when: false
tags: users

- name: Store the user ID
set_fact:
ansible.builtin.set_fact:
user_id: '{{ id_cmd.stdout }}'
tags: users

- name: Enable the service as a user
- name: Enable the service as a user # noqa: command-instead-of-module
become: true
become_user: '{{ user.uid }}'
become_method: sudo
Expand All @@ -93,7 +93,7 @@
DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/{{ user_id }}/bus
tags: users

- name: Start the service as a user
- name: Start the service as a user # noqa: command-instead-of-module
become: true
become_user: '{{ user.uid }}'
become_method: sudo
Expand All @@ -106,7 +106,7 @@
DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/{{ user_id }}/bus
tags: users

- name: Show the service status as a user
- name: Show the service status as a user # noqa: command-instead-of-module
become: true
become_user: '{{ user.uid }}'
become_method: sudo
Expand Down

0 comments on commit 5a5c4ce

Please sign in to comment.