chore: clean up ansible structure
This commit is contained in:
+7
-4
@@ -1,5 +1,8 @@
|
||||
# Ansible
|
||||
|
||||
\# TODO: Create venv and install ansible? That way not dependent on ansible
|
||||
being installed on machine.
|
||||
|
||||
## Running a playbook manually
|
||||
|
||||
Set vars on command line:
|
||||
@@ -13,7 +16,7 @@ ansible-playbook ansible/playbooks/add-new-service.yml \
|
||||
|
||||
### Install an IOC
|
||||
```
|
||||
ansible-playbook ansible/plays/ioc/ioc-install.yml \
|
||||
ansible-playbook ansible/playbooks/ioc-install.yml \
|
||||
-i ansible/hosts.yml \
|
||||
--extra-vars="agebd_env=dev branch_name=feature/add-service-playground service_name_lower=playground ioc_port=50003" \
|
||||
-v
|
||||
@@ -22,7 +25,7 @@ ansible-playbook ansible/plays/ioc/ioc-install.yml \
|
||||
### Start an IOC
|
||||
TODO: how to get the ioc_port in cicd? Add it to the branch name?
|
||||
```
|
||||
ansible-playbook ansible/plays/ioc/ioc-start.yml \
|
||||
ansible-playbook ansible/playbooks/ioc-start.yml \
|
||||
-i ansible/hosts.yml \
|
||||
--extra-vars="service_name_lower=playground ioc_port=50003" \
|
||||
-v
|
||||
@@ -30,8 +33,8 @@ ansible-playbook ansible/plays/ioc/ioc-start.yml \
|
||||
|
||||
### Restart an IOC
|
||||
```
|
||||
ansible-playbook ansible/plays/ioc/ioc-restart.yml \
|
||||
ansible-playbook ansible/playbooks/ioc-restart.yml \
|
||||
-i ansible/hosts.yml \
|
||||
--extra-vars="agebd_env=dev branch_name=feature/add-service-playground service_name_lower=playground" \
|
||||
-v
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user