Skip to content

Commit

Permalink
fix reference
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdaley92 committed Jan 1, 2024
1 parent 276e6a1 commit 832f95c
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .ansible/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
name: docker
tasks_from: stack_deploy

- name: Wait for https://{{ proxy[0].host }} to be ready
- name: Wait for https://{{ proxy[0].diesel_host }} to be ready
uri:
url: https://{{ proxy[0].host }}
url: https://{{ proxy[0].diesel_host }}
method: GET
validate_certs: '{{ validate_certs }}'
register: ui_ready
Expand Down Expand Up @@ -64,7 +64,7 @@

- name: Change admin password (required on first login)
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/users/admin/change-password
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/users/admin/change-password
method: PUT
headers:
content-type: 'text/plain'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Update active realms
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/realms/active
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/realms/active
method: PUT
headers:
content-type: 'application/json'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Configure anonymous access for `{{ payload.realmName }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/anonymous
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/anonymous
method: PUT
headers:
content-type: 'application/json'
Expand Down
2 changes: 1 addition & 1 deletion .ansible/roles/configure_capabilities/tasks/configure.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Create capability `{{ payload.typeId }}`
uri:
url: https://{{ proxy[0].host }}/service/extdirect
url: https://{{ proxy[0].diesel_host }}/service/extdirect
method: POST
headers:
content-type: 'application/json'
Expand Down
6 changes: 3 additions & 3 deletions .ansible/roles/configure_certificates/tasks/configure.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Get all certificates in nexus trust store
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/ssl/truststore
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/ssl/truststore
method: GET
headers:
content-type: 'application/json'
Expand All @@ -18,7 +18,7 @@

- name: Get PEM for `{{ certificate.host }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/ssl/?host={{ certificate.host | urlencode }}&port={{ certificate.port | urlencode }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/ssl/?host={{ certificate.host | urlencode }}&port={{ certificate.port | urlencode }}
method: GET
headers:
content-type: 'application/json'
Expand All @@ -38,7 +38,7 @@

- name: Add certificate `{{ certificate.host }}` to nexus trust store
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/ssl/truststore
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/ssl/truststore
method: POST
headers:
content-type: 'application/json'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Get cleanup policy `{{ payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/internal/cleanup-policies/{{ payload.name }}
url: https://{{ proxy[0].diesel_host }}/service/rest/internal/cleanup-policies/{{ payload.name }}
method: GET
headers:
content-type: 'application/json'
Expand All @@ -19,7 +19,7 @@

- name: Create cleanup policy `{{ payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/internal/cleanup-policies
url: https://{{ proxy[0].diesel_host }}/service/rest/internal/cleanup-policies
method: POST
headers:
content-type: 'application/json'
Expand All @@ -34,7 +34,7 @@

- name: Update cleanup policy `{{ payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/internal/cleanup-policies/{{ payload.name }}
url: https://{{ proxy[0].diesel_host }}/service/rest/internal/cleanup-policies/{{ payload.name }}
method: PUT
headers:
content-type: 'application/json'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Get ldap connection `{{ payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/ldap/{{ payload.name }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/ldap/{{ payload.name }}
method: GET
headers:
content-type: 'application/json'
Expand All @@ -19,7 +19,7 @@

- name: Create ldap connection `{{ payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/ldap
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/ldap
method: POST
headers:
content-type: 'application/json'
Expand All @@ -34,7 +34,7 @@

- name: Update ldap connection `{{ payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/ldap/{{ payload.name }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/ldap/{{ payload.name }}
method: PUT
headers:
content-type: 'application/json'
Expand Down
6 changes: 3 additions & 3 deletions .ansible/roles/configure_privileges/tasks/configure.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Get privilege `{{ privilege.payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/privileges/{{ privilege.payload.name }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/privileges/{{ privilege.payload.name }}
method: GET
headers:
content-type: 'application/json'
Expand All @@ -19,7 +19,7 @@

- name: Create {{ privilege.type }} privilege `{{ privilege.payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/privileges/{{ privilege.type }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/privileges/{{ privilege.type }}
method: POST
headers:
content-type: 'application/json'
Expand All @@ -34,7 +34,7 @@

- name: Update {{ privilege.type }} privilege `{{ privilege.payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/privileges/{{ privilege.type }}/{{ privilege.payload.name }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/privileges/{{ privilege.type }}/{{ privilege.payload.name }}
method: PUT
headers:
content-type: 'application/json'
Expand Down
6 changes: 3 additions & 3 deletions .ansible/roles/configure_repositories/tasks/configure.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Get {{ repo.format }} {{ repo.type }} repository `{{ repo.payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/repositories/{{ repo.format }}/{{ repo.type }}/{{ repo.payload.name }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/repositories/{{ repo.format }}/{{ repo.type }}/{{ repo.payload.name }}
method: GET
headers:
content-type: 'application/json'
Expand All @@ -19,7 +19,7 @@

- name: Create {{ repo.format }} {{ repo.type }} repository `{{ repo.payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/repositories/{{ repo.format }}/{{ repo.type }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/repositories/{{ repo.format }}/{{ repo.type }}
method: POST
headers:
content-type: 'application/json'
Expand All @@ -34,7 +34,7 @@

- name: Update {{ repo.format }} {{ repo.type }} repository `{{ repo.payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/repositories/{{ repo.format }}/{{ repo.type }}/{{ repo.payload.name }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/repositories/{{ repo.format }}/{{ repo.type }}/{{ repo.payload.name }}
method: PUT
headers:
content-type: 'application/json'
Expand Down
4 changes: 2 additions & 2 deletions .ansible/roles/configure_repositories/tasks/remove.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Get {{ repo.format }} {{ repo.type }} repository `{{ repo.payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/repositories/{{ repo.format }}/{{ repo.type }}/{{ repo.payload.name }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/repositories/{{ repo.format }}/{{ repo.type }}/{{ repo.payload.name }}
method: GET
headers:
content-type: 'application/json'
Expand All @@ -19,7 +19,7 @@

- name: Remove repository `{{ repo.payload.name }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/repositories/{{ repo.payload.name }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/repositories/{{ repo.payload.name }}
method: DELETE
headers:
content-type: 'application/json'
Expand Down
6 changes: 3 additions & 3 deletions .ansible/roles/configure_roles/tasks/configure.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Get role `{{ payload.id }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/roles/{{ payload.id | urlencode }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/roles/{{ payload.id | urlencode }}
method: GET
headers:
content-type: 'application/json'
Expand All @@ -19,7 +19,7 @@

- name: Create role `{{ payload.id }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/roles
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/roles
method: POST
headers:
content-type: 'application/json'
Expand All @@ -34,7 +34,7 @@

- name: Update role `{{ payload.id }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/roles/{{ payload.id | urlencode }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/roles/{{ payload.id | urlencode }}
method: PUT
headers:
content-type: 'application/json'
Expand Down
6 changes: 3 additions & 3 deletions .ansible/roles/configure_users/tasks/configure.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Get user `{{ payload.userId }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/users/?userId={{ payload.userId | urlencode }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/users/?userId={{ payload.userId | urlencode }}
method: GET
headers:
content-type: 'application/json'
Expand All @@ -18,7 +18,7 @@

- name: Create user `{{ payload.userId }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/users
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/users
method: POST
headers:
content-type: 'application/json'
Expand All @@ -33,7 +33,7 @@

- name: Update user `{{ payload.userId }}`
uri:
url: https://{{ proxy[0].host }}/service/rest/v1/security/users/{{ payload.userId | urlencode }}
url: https://{{ proxy[0].diesel_host }}/service/rest/v1/security/users/{{ payload.userId | urlencode }}
method: PUT
headers:
content-type: 'application/json'
Expand Down

0 comments on commit 832f95c

Please sign in to comment.