Files
ansible-lxc-templates/README.md
dimti 371e8c671b + add install requirements example to readme
+ nginx site playbook without db
2023-12-29 20:37:21 +03:00

19 lines
458 B
Markdown

# Getting Started
## Create symlink for ansible hosts
`sudo ln -s $(realpath hosts) /etc/ansible/hosts`
## Modify your ~/.ssh/config
```
Host debian10.dedic106-dhcp.dimti.ru
Port 22242
```
## Install needed ansible galaxy collections
```
ansible-galaxy install -g -f -r requirements.yml
```
# Usage
## Ping
`ansible debian10 -m ping -u root`
## Playbook
`ansible-playbook anygroup.yml`
## Playbook group only tag
`ansible-playbook anygroup.yml -t nginx`