Skip to content

Commit

Permalink
Update deploy-from-ansible.md (trailofbits#1518)
Browse files Browse the repository at this point in the history
Further clarifies that the usage of `-t` is deprecated (other than `--skip-tags`) and using variables is preferred.
  • Loading branch information
TC1977 authored and jackivanov committed Jul 14, 2019
1 parent 090a60d commit 37e4f46
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/deploy-from-ansible.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ Before you begin, make sure you have installed all the dependencies necessary fo

You can deploy Algo non-interactively by running the Ansible playbooks directly with `ansible-playbook`.

`ansible-playbook` accepts "tags" via the `-t` or `TAGS` options. You can pass tags as a list of comma separated values. Ansible will only run plays (install roles) with the specified tags. You can also use the `--skip-tags` option to skip certain parts of the install, such as `iptables` (overwrite iptables rules), `ipsec` (install strongSwan), `wireguard` (install Wireguard).

`ansible-playbook` accepts variables via the `-e` or `--extra-vars` option. You can pass variables as space separated key=value pairs. Algo requires certain variables that are listed below.
`ansible-playbook` accepts variables via the `-e` or `--extra-vars` option. You can pass variables as space separated key=value pairs. Algo requires certain variables that are listed below. You can also use the `--skip-tags` option to skip certain parts of the install, such as `iptables` (overwrite iptables rules), `ipsec` (install strongSwan), `wireguard` (install Wireguard). We don't recommend using the `-t` option as it will only include the tagged portions of the deployment, and skip certain necessary roles (such as `common`).

Here is a full example for DigitalOcean:

Expand Down

0 comments on commit 37e4f46

Please sign in to comment.