mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 21:57:00 +01:00
Custom Scaleway dynamic inventory
This commit is contained in:
parent
05196fd6bb
commit
5d81de3cf9
6 changed files with 106 additions and 19 deletions
|
|
@ -17,9 +17,9 @@
|
|||
commercial_type: VC1S
|
||||
wait: true
|
||||
tags:
|
||||
- k8s_master
|
||||
- k8s_etcd
|
||||
- "{{ k8s_scw_environment }}"
|
||||
- group:k8s_master
|
||||
- group:k8s_etcd
|
||||
- env:{{ k8s_scw_environment }}
|
||||
loop: "{{ range(1,k8s_scw_master_nodes_count+1)|list }}"
|
||||
|
||||
- name: Provision worker nodes
|
||||
|
|
@ -33,8 +33,8 @@
|
|||
commercial_type: VC1S
|
||||
wait: true
|
||||
tags:
|
||||
- k8s_worker
|
||||
- "{{ k8s_scw_environment }}"
|
||||
- group:k8s_worker
|
||||
- env:{{ k8s_scw_environment }}
|
||||
loop: "{{ range(1,k8s_scw_worker_nodes_count+1)|list }}"
|
||||
|
||||
- meta: refresh_inventory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue