linter
This commit is contained in:
parent
faaf7bcf72
commit
c30097b394
2 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
- name: Ensure Admin-User exists
|
- name: Ensure Admin-User exists
|
||||||
no_log: true
|
no_log: true
|
||||||
become_user: gitea
|
become_user: gitea
|
||||||
|
become: true
|
||||||
ansible.builtin.command: |
|
ansible.builtin.command: |
|
||||||
forgejo admin user create \
|
forgejo admin user create \
|
||||||
--config /etc/gitea/gitea.ini
|
--config /etc/gitea/gitea.ini
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
- name: Ensure LDAP config is set up
|
- name: Ensure LDAP config is set up
|
||||||
no_log: true
|
no_log: true
|
||||||
become_user: gitea
|
become_user: gitea
|
||||||
|
become: true
|
||||||
ansible.builtin.command: |
|
ansible.builtin.command: |
|
||||||
forgejo admin auth add-ldap \
|
forgejo admin auth add-ldap \
|
||||||
--config "{{ gitea_configuration_path }}/gitea.ini" \
|
--config "{{ gitea_configuration_path }}/gitea.ini" \
|
||||||
|
@ -32,6 +33,7 @@
|
||||||
- name: Modify LDAP config
|
- name: Modify LDAP config
|
||||||
no_log: true
|
no_log: true
|
||||||
become_user: gitea
|
become_user: gitea
|
||||||
|
become: true
|
||||||
ansible.builtin.command: |
|
ansible.builtin.command: |
|
||||||
forgejo admin auth update-ldap \
|
forgejo admin auth update-ldap \
|
||||||
--config "{{ gitea_configuration_path }}/gitea.ini" \
|
--config "{{ gitea_configuration_path }}/gitea.ini" \
|
||||||
|
|
Loading…
Reference in a new issue