Skip to content

terryshi96/just_ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-ansible-playbooks

simple ansible playbooks for rails\postgresql\node\redis\zabbix_agent\docker etc.

install ansible

  • pip install ansible
  • pip install passlib (for password)
  • pip install distribute (for parse hosts)
  • ssh-keygen -t rsa

roles

include common docker elk nodejs postgresql rails redis zabbix_agent etc..

usage

  • first of all you should add your public key to servers
  • add connect information to file hosts and push ssh key
ansible-playbook ssh.yml
  • edit a playbook file like site.yml and choose roles and hosts
  • execute playbook
ansible-playbook site.yml

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages