From c5b6dcd7fa424054816af69639cebd18584d04b7 Mon Sep 17 00:00:00 2001 From: Xan Manning Date: Mon, 13 Jan 2020 21:53:33 +0000 Subject: [PATCH] Fixed control nodes to match nginx template in test --- meta/main.yml | 2 +- .../highavailability/playbook-auto-deploying-manifests.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index be00acb..b1f24ef 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -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 diff --git a/molecule/highavailability/playbook-auto-deploying-manifests.yml b/molecule/highavailability/playbook-auto-deploying-manifests.yml index a4c52f3..055d3d2 100644 --- a/molecule/highavailability/playbook-auto-deploying-manifests.yml +++ b/molecule/highavailability/playbook-auto-deploying-manifests.yml @@ -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