diff --git a/.gitignore b/.gitignore index a45f3ee..eff44fb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ -*.swp ENV/ +tmp/ + +*.retry +*.swp diff --git a/README.md b/README.md index f6dcb66..4e4aa78 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,12 @@ benötigt. Für diesen muss ein SSH-Key hinterlegt sein. ## Übernehmen der Änderungen für alle Hosts - ansible-playbook site.yml -i production --sudo --ask-sudo-pass + ansible-playbook site.yml -i production -bK + +Zum Testen kann noch `-C` angehängt werden. ## Ansible Convenience Einschränken auf bestimmte Tags, z. B. `nginx`: - ansible-playbook site.yml -i production --sudo --ask-sudo-pass --tags nginx - + ansible-playbook site.yml -i production -bK --tags nginx diff --git a/deploy.sh b/deploy.sh index 5d24448..645749d 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash if [ $# -gt 0 ]; then - ansible-playbook site.yml -i production --sudo --ask-sudo-pass --tags $1 + ansible-playbook site.yml -i production -bK --tags $1 else - ansible-playbook site.yml -i production --sudo --ask-sudo-pass + ansible-playbook site.yml -i production -bK fi