Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ services:
- -ce
- |
ansible -m metalstack.base.metal_stack_release_vector localhost --extra-vars "@.extra_vars.yaml"
ansible-playbook install_v2_client.yaml
ansible-playbook deploy_partition.yaml --extra-vars "@.extra_vars.yaml"

metalctl:
Expand Down
4 changes: 3 additions & 1 deletion deploy_partition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@

roles:
- name: ansible-common
- name: metal-roles/common/roles/metal-v2-client
- name: metal-roles/common/roles/metal-deployment-token

- name: Deploy mgmt-server components on leaf01
Expand All @@ -71,6 +70,7 @@
- name: ansible-common
- name: metal-roles/partition/roles/pixiecore
- name: metal-roles/common/roles/metal-deployment-token
when: deploy_partition_image_cache
- name: metal-roles/partition/roles/image-cache
when: deploy_partition_image_cache

Expand All @@ -95,6 +95,7 @@
roles:
- name: ansible-common
tags: always
- name: metal-roles/common/roles/metal-deployment-token
- name: metal-roles/partition/roles/metal-core
tags: metal-core
vars:
Expand All @@ -113,6 +114,7 @@
roles:
- name: ansible-common
tags: always
- name: metal-roles/common/roles/metal-deployment-token
- name: metal-roles/partition/roles/metal-core
tags: metal-core

Expand Down
7 changes: 7 additions & 0 deletions install_v2_client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
- name: Install python client
hosts: localhost
connection: local
gather_facts: false
roles:
- name: metal-roles/common/roles/metal-v2-client
6 changes: 3 additions & 3 deletions inventories/group_vars/all/release_vector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ metal_stack_release_vectors:
# metal_masterdata_api_image_tag:
# metal_console_image_name:
# metal_console_image_tag:
# metal_core_image_name:
# metal_core_image_tag:
metal_core_image_tag: migrate-to-v2
metal_core_image_name: ghcr.io/metal-stack/metal-core
# headscale_image_tag:
# headscale_db_backup_restore_sidecar_image_tag:
# headscale_db_backup_restore_sidecar_image_name:
Expand All @@ -39,7 +39,7 @@ metal_stack_release_vectors:
##

# ansible_common_version:
# metal_roles_version:
metal_roles_version: pr-506-metal-core-to-v2
# metal_ansible_modules_version:

##
Expand Down
1 change: 1 addition & 0 deletions inventories/group_vars/partition/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ metal_partition_timezone: Europe/Berlin
metal_partition_id: mini-lab

metal_partition_metal_api_protocol: http
metal_partition_metal_apiserver_url: http://v2.{{ metal_control_plane_gateway_dns }}
metal_partition_metal_api_addr: api.{{ metal_control_plane_gateway_dns }}
metal_partition_metal_api_port: 80
metal_partition_metal_api_basepath: /metal/
Expand Down
Loading