init
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: restart dhcpcd
|
||||
ansible.builtin.shell: |
|
||||
set -euo pipefail
|
||||
dhcpcd -k eth0 || true
|
||||
sleep 1
|
||||
dhcpcd -f /etc/dhcpcd.conf eth0
|
||||
args:
|
||||
executable: /bin/bash
|
||||
Reference in New Issue
Block a user