mirror of
https://github.com/KevinMidboe/playbooks-retailor.git
synced 2026-02-13 04:49:14 +00:00
ansible playbooks for retailor.io infrastructure
This commit is contained in:
33
README.md
Normal file
33
README.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# playbooks retailor.io
|
||||
|
||||
Includes ansible playbooks for provisioning & configuring retailor server nodes.
|
||||
|
||||
## run
|
||||
|
||||
Directory `plays/` contains all available plays. To run a play specify the inventory file and the play. This runs for all hosts specified in `inventory.ini` in order to keep state updated, to run on a single host pass flag `-l web2`.
|
||||
|
||||
```bash
|
||||
ansible-playbook -i inventory plays/tailscale.yml
|
||||
```
|
||||
|
||||
Specifying a single host:
|
||||
|
||||
```bash
|
||||
ansible-playbook -i inventory plays/firewall.yml -l cache
|
||||
```
|
||||
|
||||
## install
|
||||
|
||||
Install using homebrew, apt or another package manager:
|
||||
|
||||
MacOS:
|
||||
|
||||
```bash
|
||||
brew install ansible-playbook
|
||||
```
|
||||
|
||||
Ubuntu:
|
||||
|
||||
```bash
|
||||
(sudo) apt install ansible-playbook
|
||||
```
|
||||
Reference in New Issue
Block a user