We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9c37e3 commit b28bd74Copy full SHA for b28bd74
handlers/main.yml
@@ -0,0 +1,6 @@
1
+---
2
+- name: Clear Machine ID
3
+ ansible.builtin.shell: |
4
+ : >| /etc/machine-id
5
+ become: true
6
+ listen: "clear machine id"
tasks/Linux.yaml
@@ -14,6 +14,7 @@
14
15
- name: Set up networking
16
ansible.builtin.include_tasks: Linux/networking.yaml
17
+ notify: "clear machine id"
18
19
- name: Set up Vagrant user
20
ansible.builtin.include_tasks: Linux/vagrant.yaml
tasks/Linux/networking.yaml
@@ -23,9 +23,4 @@
23
ansible.builtin.service:
24
name: network
25
state: restarted
26
- become: true
27
-
28
-- name: Clear Machine ID
29
- ansible.builtin.shell: |
30
- : >| /etc/machine-id
31
become: true
0 commit comments