Skip to content

Commit c5eba78

Browse files
authored
Merge pull request #255 from laincloud/networkd-update
add role to update networkd binary
2 parents 83e2b74 + 7f39511 commit c5eba78

File tree

1 file changed

+14
-0
lines changed
  • playbooks/roles/networkd-update/tasks

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# this role is used to update networkd binary, the updated networkd binary should be located at dir: ../files
2+
- name: copy networkd binary file
3+
copy:
4+
src: networkd
5+
dest: /usr/bin/networkd
6+
force: yes
7+
mode: a+x
8+
9+
- name: systemctl restart networkd && systemctl enable networkd
10+
service:
11+
name: networkd
12+
state: restarted
13+
enabled: yes
14+

0 commit comments

Comments
 (0)