1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

network/tasks/restart.yml also needed netplan var. Dup code for now :/

This commit is contained in:
root 2022-07-22 11:25:47 -04:00
parent 79d6bd8bc6
commit f33e15ecd2
4 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,11 @@
# 2022-07-22: Moved from detected_network.yml to netplan.yml AND restart.yml (REMOVE DUPLICATE CODE LATER?!)
- name: Figure out netplan file name
shell: ls /etc/netplan
register: netplan
#ignore_errors: True # pre 17.10 doesn't use netplan
when: is_ubuntu
- name: Restart wpa_supplicant service
systemd:
name: "{{ item }}"