From 42501acb74c471f44ead10dcf4119dbe2f2f3437 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 7 May 2018 10:54:40 +0300 Subject: [PATCH] Add install instructions for ansible-relayor There are several ways to install external roles, ie via ansible-galaxy, git submodules, etc. I found that adding this role to a requirements.yml file and adding instructions to the README.md is probably the best way. Using ansible-galaxy actually had issues because the ansible-relayor git repository has version tags that use mixed styles, like v0.3.3 and 0.1.0 without a v. --- README.md | 4 ++++ requirements.yml | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 requirements.yml diff --git a/README.md b/README.md index 18d7470..b4b5a92 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,10 @@ Once you've satisfied the the above assumptions, you can execute: $ ansible-playbook web.yml +If setting up Tor relays, you need to install the [ansible-relayor](https://github.com/nusenu/ansible-relayor) role: + + $ ansible-galaxy install -r requirements.yml + ## Todo - Update packages for Ubuntu 18.04 (mariadb, nginx, tarsnap currently using packages for 17.10 artful) diff --git a/requirements.yml b/requirements.yml new file mode 100644 index 0000000..b3b30b8 --- /dev/null +++ b/requirements.yml @@ -0,0 +1,5 @@ +- src: https://github.com/nusenu/ansible-relayor + name: nusenu.relayor + version: master + +# vim: set sw=2 ts=2: