Fix: Don't do reloads on packer builds

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-01-23 14:41:45 +01:00
parent 7b05ac3b11
commit d3480810ee
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -93,7 +93,7 @@
systemd: systemd:
name: docker-compose.service name: docker-compose.service
state: reloaded state: reloaded
when: docker_compose.changed or compose_file.changed when: (docker_compose.changed or compose_file.changed) and packer_build_name is not defined
- name: Install docker-compose-reload.service - name: Install docker-compose-reload.service
copy: copy: