diff --git a/defaults/main.yml b/defaults/main.yml index 0947164..60751c2 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -84,3 +84,5 @@ netplan_packages: - netplan.io netplan_pri_domain: example.org + +netplan_apply: True diff --git a/handlers/main.yml b/handlers/main.yml index a598b96..e27a85f 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -8,3 +8,4 @@ - name: Applying Netplan Configuration command: netplan apply listen: netplan apply config + when: netplan_apply