mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-09-27 04:03:43 +02:00
Fixed control nodes to match nginx template in test
This commit is contained in:
parent
e3ce213bc0
commit
c5b6dcd7fa
@ -3,7 +3,7 @@
|
|||||||
galaxy_info:
|
galaxy_info:
|
||||||
role_name: k3s
|
role_name: k3s
|
||||||
author: Xan Manning
|
author: Xan Manning
|
||||||
description: Ansible role for installing k3s as either a standalone server or cluster
|
description: Ansible role for installing k3s as either a standalone server or HA cluster
|
||||||
company: Pyrat Ltd.
|
company: Pyrat Ltd.
|
||||||
|
|
||||||
# If the issue tracker for your role is not on github, uncomment the
|
# If the issue tracker for your role is not on github, uncomment the
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
k3s_control_node_address: loadbalancer
|
k3s_control_node_address: loadbalancer
|
||||||
k3s_datastore_endpoint: "postgres://postgres:verybadpass@database:5432/postgres?sslmode=disable"
|
k3s_datastore_endpoint: "postgres://postgres:verybadpass@database:5432/postgres?sslmode=disable"
|
||||||
k3s_server_manifests_templates:
|
k3s_server_manifests_templates:
|
||||||
- "molecule/default/templates/00-ns-monitoring.yml.j2"
|
- "molecule/highavailability/templates/00-ns-monitoring.yml.j2"
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Set each node to be a control node
|
- name: Set each node to be a control node
|
||||||
set_fact:
|
set_fact:
|
||||||
k3s_control_node: true
|
k3s_control_node: true
|
||||||
when: inventory_hostname in ['node1', 'node2']
|
when: inventory_hostname in ['node2', 'node3']
|
||||||
roles:
|
roles:
|
||||||
- role: xanmanning.k3s
|
- role: xanmanning.k3s
|
||||||
|
Loading…
Reference in New Issue
Block a user