mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-02-02 08:56:43 +00:00
c38dc75f7f
Due to the change caused by updated terraform script, we need to change usage of variable `hostname` to `inventory_hostname`. Signed-off-by: markoburcul <marko@status.im>
11 lines
253 B
YAML
11 lines
253 B
YAML
---
|
|
- name: Copy netplan config file
|
|
register: netplan
|
|
copy:
|
|
src: 'vars/addresses/{{ inventory_hostname }}.yml'
|
|
dest: '/etc/netplan/00-installer-config.yaml'
|
|
|
|
- name: Apply host netplan
|
|
when: netplan.changed
|
|
command: sudo netplan apply
|