From e2a1ea2b73d65b6672abf654c1b58f99bcfb8dbf Mon Sep 17 00:00:00 2001 From: Frederik Wille Date: Mon, 31 Aug 2015 20:35:52 +0200 Subject: [PATCH] added deploy script --- deploy.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 deploy.sh diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..74c7d9a --- /dev/null +++ b/deploy.sh @@ -0,0 +1,6 @@ +#!/bin/bash +if [ $# -gt 0 ]; then + ansible-playbook site.yml -i production --sudo --ask-sudo-pass --tags $1 +else + ansible-playbook site.yml -i production --sudo --ask-sudo-pass +fi