mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
Fix newlines in command
Signed-off-by: Koen Ekelschot <koen.ekelschot@gmail.com>
This commit is contained in:
parent
11d5b82dc3
commit
44c27a6a2b
1 changed files with 4 additions and 4 deletions
|
@ -8,10 +8,10 @@
|
||||||
- name: Use gitea cli to create user
|
- name: Use gitea cli to create user
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.command: |
|
ansible.builtin.command: |
|
||||||
su - {{ gitea_user }} -c
|
su - {{ gitea_user }} -c \
|
||||||
'{{ gitea_full_executable_path }} -c {{ gitea_configuration_path }}/gitea.ini
|
'{{ gitea_full_executable_path }} -c {{ gitea_configuration_path }}/gitea.ini \
|
||||||
admin user create --username "{{ item.name }}"
|
admin user create --username "{{ item.name }}" \
|
||||||
--password "{{ item.password }}" --email "{{ item.email }}"
|
--password "{{ item.password }}" --email "{{ item.email }}" \
|
||||||
--must-change-password={{ item.must_change_password }} --admin={{ item.admin }}'
|
--must-change-password={{ item.must_change_password }} --admin={{ item.admin }}'
|
||||||
register: _gitearesult
|
register: _gitearesult
|
||||||
failed_when:
|
failed_when:
|
||||||
|
|
Loading…
Reference in a new issue