We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a3074b commit 3f97454Copy full SHA for 3f97454
ansible/roles/compute_init/files/compute-init.yml
@@ -3,9 +3,10 @@
3
- name: Compute node initialisation
4
hosts: localhost
5
become: yes
6
- # VARS TO BE SUPPLIED VIA CLOUD INIT METADATA
7
vars:
8
- server_node_ip: "172.16.1.154"
+ os_metadata: "{{ lookup('url', 'http://169.254.169.254/openstack/latest/meta_data.json') | from_json }}"
+ server_node_ip: "{{ os_metadata.meta.k3s_server }}"
9
+
10
resolv_conf_nameservers: [1.1.1.1, 8.8.8.8]
11
12
nfs_configurations:
0 commit comments