From 21d65be798311108efc623af23c0ab0f9325940f Mon Sep 17 00:00:00 2001 From: William Date: Fri, 1 Jul 2022 15:13:06 +0200 Subject: [PATCH] =?UTF-8?q?Initialisation=20du=20script=20de=20d=C3=A9ploi?= =?UTF-8?q?ement=20d'une=20app.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..314301b --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Ansible: Setup App + +This playbook installs app from repository and bind Traefik on defined host. + +## Installing + +Copy then change values of hosts example file: + +```bash +$ cp hosts.example.ini hosts.ini +``` + +Then run the playbook: + +```bash +$ ansible-playbook -i hosts.ini playbook.yml \ + -e name=myapp \ + -e repository=https://git.example.com/vendor/app.git \ + -e version=master \ + -e host=myapp.example.com +```