From 41af071fead1482fa24bae2113d5dd3f9c216a72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr> Date: Thu, 3 Aug 2017 15:39:48 +0200 Subject: [PATCH] Update README.md Former-commit-id: ab95b4e71f6e0e55645339ff509afb41b7bc1f17 --- ansible/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ansible/README.md b/ansible/README.md index 51e40fef..717219b2 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -3,4 +3,11 @@ This repository contains the playbooks to manage an ippidb instance with ansible - `system.yaml`: install system requirements -- `deploy.yaml`: download/update iPPI-DB and perform required procedures to migrate and restart \ No newline at end of file +- `deploy.yaml`: download/update iPPI-DB and perform required procedures to migrate and restart + +## how to use these ? + +``` +ansible-playbook -v -i ./hosts system.yaml --ask-become-pass --extra-vars "deploy_user_name=ippidb repo_api_token=JZS-4cH7bWkFkHa2rAVf" +ansible-playbook -v -i ./hosts deploy.yaml --ask-become-pass --extra-vars "deploy_user_name=ippidb repo_api_token=JZS-4cH7bWkFkHa2rAVf" +``` \ No newline at end of file -- GitLab