You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dimti
6270c71549
|
2 years ago | |
---|---|---|
data/db-dumps | 1 year ago | |
group_vars | 1 year ago | |
manala | 2 years ago | |
playbooks | 1 year ago | |
role/defaults | 2 years ago | |
roles | 12 months ago | |
secret | 2 years ago | |
vars | 1 year ago | |
.gitignore | 2 years ago | |
LICENSE | 7 years ago | |
README.md | 12 months ago | |
ansible.cfg | 1 year ago | |
anygroup.yml | 2 years ago | |
hosts | 2 years ago | |
ping.yml | 2 years ago | |
requirements.yml | 2 years ago | |
run-lxc-playbook.sh | 1 year ago | |
run-vps-playbook.sh | 1 year ago | |
yadm.yml | 2 years ago |
README.md
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
Usage
Ping
ansible debian10 -m ping -u root
Playbook
ansible-playbook anygroup.yml
Playbook group only tag
ansible-playbook anygroup.yml -t nginx