Makefile fix for ansible testing

This commit is contained in:
putro 2019-04-30 22:38:45 +02:00
parent c70b2138cc
commit 5ca98f9d3b

View File

@ -85,7 +85,7 @@ rsync_upload: publish
HOST=$(shell hostname) HOST=$(shell hostname)
production: publish production: publish
ifeq ($(HOST),zaphoda) ifeq ($(HOST),$(filter $(HOST),zaphoda zaphoda-dev))
rsync --update --delete -avz $(OUTPUTDIR)/ $(SSH_TARGET_DIR) rsync --update --delete -avz $(OUTPUTDIR)/ $(SSH_TARGET_DIR)
else else
@echo "devi essere su zaphoda per lanciare questo comando" @echo "devi essere su zaphoda per lanciare questo comando"