Skip to content

Commit b28bd74

Browse files
committedFeb 28, 2025
new method NO_JIRA
1 parent e9c37e3 commit b28bd74

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed
 

‎handlers/main.yml

+6
Original file line numberDiff line numberDiff line change
@@ -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

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
- name: Set up networking
1616
ansible.builtin.include_tasks: Linux/networking.yaml
17+
notify: "clear machine id"
1718

1819
- name: Set up Vagrant user
1920
ansible.builtin.include_tasks: Linux/vagrant.yaml

‎tasks/Linux/networking.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,4 @@
2323
ansible.builtin.service:
2424
name: network
2525
state: restarted
26-
become: true
27-
28-
- name: Clear Machine ID
29-
ansible.builtin.shell: |
30-
: >| /etc/machine-id
3126
become: true

0 commit comments

Comments
 (0)
Failed to load comments.