Skip to content

Commit

Permalink
dev: fixups for missing fernet token in seed step
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudguruab committed May 13, 2024
1 parent c8300d6 commit 7746318
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/func/tasks/tenant/seed/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- name: get auth token
openstack.cloud.auth:
auth: "{{ os_migrate_src_auth }}"
register: auth_token

- name: set tags on network
ansible.builtin.command:
Expand All @@ -20,7 +21,7 @@
environment:
OS_AUTH_TYPE: token
OS_AUTH_URL: "{{ os_migrate_src_auth.auth_url }}"
OS_TOKEN: "{{ auth_token }}"
OS_TOKEN: "{{ auth_token.auth_token }}"
OS_PROJECT_ID: "{{ os_migrate_src_auth.project_id|default('') }}"
OS_PROJECT_NAME: "{{ os_migrate_src_auth.project_name|default('') }}"
OS_PROJECT_DOMAIN_ID: "{{ os_migrate_src_auth.project_domain_id|default('') }}"
Expand Down
3 changes: 2 additions & 1 deletion tests/func/tasks/tenant/seed/router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- name: get auth token
openstack.cloud.auth:
auth: "{{ os_migrate_src_auth }}"
register: auth_token

- name: set tags on router
ansible.builtin.command:
Expand All @@ -29,7 +30,7 @@
environment:
OS_AUTH_TYPE: token
OS_AUTH_URL: "{{ os_migrate_src_auth.auth_url }}"
OS_TOKEN: "{{ auth_token }}"
OS_TOKEN: "{{ auth_token.auth_token }}"
OS_PROJECT_ID: "{{ os_migrate_src_auth.project_id|default('') }}"
OS_PROJECT_NAME: "{{ os_migrate_src_auth.project_name|default('') }}"
OS_PROJECT_DOMAIN_ID: "{{ os_migrate_src_auth.project_domain_id|default('') }}"
Expand Down
3 changes: 2 additions & 1 deletion tests/func/tasks/tenant/seed/subnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- name: Get auth token
openstack.cloud.auth:
auth: "{{ os_migrate_src_auth }}"
register: auth_token

- name: Set tags on subnet
ansible.builtin.command:
Expand All @@ -27,7 +28,7 @@
environment:
OS_AUTH_TYPE: token
OS_AUTH_URL: "{{ os_migrate_src_auth.auth_url }}"
OS_TOKEN: "{{ auth_token }}"
OS_TOKEN: "{{ auth_token.auth_token }}"
OS_PROJECT_ID: "{{ os_migrate_src_auth.project_id|default('') }}"
OS_PROJECT_NAME: "{{ os_migrate_src_auth.project_name|default('') }}"
OS_PROJECT_DOMAIN_ID: "{{ os_migrate_src_auth.project_domain_id|default('') }}"
Expand Down

0 comments on commit 7746318

Please sign in to comment.