Initialise repository structure and placeholder files. Generic functionality works i guess, need to come up with a better solution for compose templates
This commit is contained in:
commit
53695f4fff
411 files changed
+7817
No files matched your search
@@ -0,0 +1,32 @@
|
||||
# Operations
|
||||
|
||||
Install collections:
|
||||
|
||||
```sh
|
||||
ansible-galaxy collection install -r requirements.yml
|
||||
```
|
||||
|
||||
Run a syntax check:
|
||||
|
||||
```sh
|
||||
ansible-playbook --syntax-check playbooks/site.yml
|
||||
```
|
||||
|
||||
Run locally:
|
||||
|
||||
```sh
|
||||
ansible-playbook -i inventories/development/hosts.yml playbooks/site.yml
|
||||
```
|
||||
|
||||
Run selected tags:
|
||||
|
||||
```sh
|
||||
ansible-playbook -i inventories/production/hosts.yml playbooks/site.yml --tags base,docker,traefik
|
||||
```
|
||||
|
||||
Run with ansible-pull:
|
||||
|
||||
```sh
|
||||
REPO_URL=git@github.com:example/nbops-ansible.git scripts/ansible-pull.sh
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user