mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-12-11 21:40:18 +01:00
Fixed control nodes to match nginx template in test
This commit is contained in:
parent
e3ce213bc0
commit
c5b6dcd7fa
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
galaxy_info:
|
||||
role_name: k3s
|
||||
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.
|
||||
|
||||
# If the issue tracker for your role is not on github, uncomment the
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
k3s_control_node_address: loadbalancer
|
||||
k3s_datastore_endpoint: "postgres://postgres:verybadpass@database:5432/postgres?sslmode=disable"
|
||||
k3s_server_manifests_templates:
|
||||
- "molecule/default/templates/00-ns-monitoring.yml.j2"
|
||||
- "molecule/highavailability/templates/00-ns-monitoring.yml.j2"
|
||||
pre_tasks:
|
||||
- name: Set each node to be a control node
|
||||
set_fact:
|
||||
k3s_control_node: true
|
||||
when: inventory_hostname in ['node1', 'node2']
|
||||
when: inventory_hostname in ['node2', 'node3']
|
||||
roles:
|
||||
- role: xanmanning.k3s
|
||||
|
|
Loading…
Reference in a new issue