site.yml 691 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ---
  2. - name: nginx configurtion
  3. user: root
  4. # hosts: cassandra
  5. # roles:
  6. # - { role: cassandra }
  7. #
  8. # ansible-playbook -i hosts site.yml --tags nginx_installer
  9. # ansible-playbook -i hosts site.yml --tags nginx_vhost
  10. #
  11. hosts: nginx
  12. roles:
  13. - { role: nginx }
  14. - name: pay group managed
  15. hosts: pay
  16. roles:
  17. - { role: systembase }
  18. - name: flume managed
  19. hosts: flume
  20. roles:
  21. - { role: flume }
  22. - name: logstash managed
  23. hosts: logstash
  24. roles:
  25. - { role: logstash }
  26. - name: backend managed
  27. hosts: java
  28. roles:
  29. - { role: java }
  30. # hosts: init
  31. # roles:
  32. # - { role: systembase }
  33. #
  34. - name: limao proxy install
  35. hosts: limao
  36. roles:
  37. - { role: limao }