Skip to content

Commit 95f2cb5

Browse files
committed
Properly handle not running shutdown
1 parent 8109f53 commit 95f2cb5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ansible/roles/common/handlers/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@
2626

2727
- name: reboot
2828
reboot:
29+
when: packer_build_name is undefined

ansible/roles/common/tasks/networking.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- name: set the system hostname
44
hostname:
55
name: "{{ inventory_hostname }}"
6-
# notify: reboot
6+
notify: reboot
77

88
- name: upload /etc/hosts
99
template:

0 commit comments

Comments
 (0)