-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allowing templates to be applied AFTER the cluster is fully up
- Loading branch information
Adam Leiner
committed
Jan 10, 2024
1 parent
74b89d5
commit f87441a
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
kubernetes_api_server_host: "{{ hostvars[groups['rke2_servers'][0]].inventory_hostname }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
|
||
- name: Add cluster manifest addons files | ||
ansible.builtin.copy: | ||
src: "{{ cluster_manifest_config_file_path }}" | ||
dest: "/var/lib/rancher/rke2/server/manifests/" | ||
mode: '0640' | ||
owner: root | ||
group: root | ||
when: | ||
Check failure on line 10 in roles/cluster_manifest/tasks/main.yml GitHub Actions / Lint for PR
Check failure on line 10 in roles/cluster_manifest/tasks/main.yml GitHub Actions / Lint for PR
|
||
- inventory_hostname in groups['rke2_servers'][0] | ||
- cluster_manifest_config_file_path is defined | ||
- cluster_manifest_config_file_path | length > 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters