Remove redundant key/value;Add debugging
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
44befeda4b
commit
2f976898eb
@ -164,6 +164,11 @@
|
||||
method: GET
|
||||
register: gitea_existing_config
|
||||
|
||||
- debug:
|
||||
var: gitea_existing_config
|
||||
|
||||
- block:
|
||||
|
||||
- name: Create organization(s)
|
||||
ansible.builtin.uri:
|
||||
url: https://git.{{ vapp['metacluster.fqdn'] }}/api/v1/orgs
|
||||
@ -210,6 +215,8 @@
|
||||
loop_control:
|
||||
label: "{{ item.organization + '/' + item.body.name }}"
|
||||
|
||||
# when: gitea_existing_config.json.data is undefined
|
||||
|
||||
module_defaults:
|
||||
ansible.builtin.uri:
|
||||
validate_certs: no
|
||||
@ -245,7 +252,6 @@
|
||||
method: POST
|
||||
force_basic_auth: yes
|
||||
body:
|
||||
token: token_init_{{ lookup('password', '/dev/null length=5 chars=ascii_letters,digits') }}
|
||||
username: admin
|
||||
password: "{{ vapp['guestinfo.rootpw'] }}"
|
||||
register: argocd_api_token
|
||||
|
Loading…
Reference in New Issue
Block a user