@ -33,7 +33,7 @@
|
|||||||
- name: Collect organizations from centurion ERP
|
- name: Collect organizations from centurion ERP
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: |-
|
url: |-
|
||||||
{{ lookup('env', 'CENTURION_API') }}/api/organization/
|
{{ lookup('env', 'CENTURION_API') }}/api/v2/access/organization/
|
||||||
method: GET
|
method: GET
|
||||||
body_format: json
|
body_format: json
|
||||||
headers:
|
headers:
|
||||||
@ -135,7 +135,7 @@
|
|||||||
- name: Create new teams in centurion_ERP
|
- name: Create new teams in centurion_ERP
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: |-
|
url: |-
|
||||||
{{ lookup('env', 'CENTURION_API') }}/api/organization/{{ item.organization_id }}/team
|
{{ lookup('env', 'CENTURION_API') }}/api/v2/access/organization/{{ item.organization_id }}/team
|
||||||
method: POST
|
method: POST
|
||||||
body_format: json
|
body_format: json
|
||||||
body: |-
|
body: |-
|
||||||
@ -265,4 +265,3 @@
|
|||||||
- permissions
|
- permissions
|
||||||
- teams
|
- teams
|
||||||
use_fact_cache: true
|
use_fact_cache: true
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user