Verified Commit 2f7ab4ff authored by rlacko's avatar rlacko 💬
Browse files

Allow customization of netplan config

parent 99232c21
......@@ -2,8 +2,8 @@
timezone: Europe/Budapest
na: "https://git.sch.bme.hu/kszk/sysadmin/kubernetes/base-ansible-role"
hostname: "{{ inventory_hostname }}"
# motd_text: KSZK Host
netplan_config_file: 01-netcfg.yaml.j2
motd_text: KSZK Host
# ssh:
# port: 10022
# pubkeyAuthentication: "yes"
......
......@@ -7,8 +7,8 @@
- name: Add netplan network config
template:
src: etc/netplan/01-netcfg.yaml.j2
dest: /etc/netplan/01-netcfg.yaml
src: etc/netplan/{{ netplan_config_file }}.j2
dest: /etc/netplan/{{ netplan_config_file }}
mode: 0644
register: netplan_config
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment