Skip to content

Commit

Permalink
Fix newlines in command
Browse files Browse the repository at this point in the history
Signed-off-by: Koen Ekelschot <[email protected]>
  • Loading branch information
koenekelschot authored Apr 7, 2024
1 parent 11d5b82 commit 44c27a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/local_git_users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
- name: Use gitea cli to create user
become: true
ansible.builtin.command: |
su - {{ gitea_user }} -c
'{{ gitea_full_executable_path }} -c {{ gitea_configuration_path }}/gitea.ini
admin user create --username "{{ item.name }}"
--password "{{ item.password }}" --email "{{ item.email }}"
su - {{ gitea_user }} -c \
'{{ gitea_full_executable_path }} -c {{ gitea_configuration_path }}/gitea.ini \
admin user create --username "{{ item.name }}" \
--password "{{ item.password }}" --email "{{ item.email }}" \
--must-change-password={{ item.must_change_password }} --admin={{ item.admin }}'
register: _gitearesult
failed_when:
Expand Down

0 comments on commit 44c27a6

Please sign in to comment.