2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-13 16:56:33 +00:00
bench/installers/ansible_playbooks
2015-12-25 20:39:32 +03:00
..
roles added ansible playbooks 2015-12-25 18:33:21 +03:00
main.yml added ansible playbooks 2015-12-25 18:33:21 +03:00
readme.md filled in with basic documentation 2015-12-25 20:39:32 +03:00
wkhtmltopdf.yml added ansible playbooks 2015-12-25 18:33:21 +03:00

The playbook main.yml contains two roles: add_repos and install_packages. It's configured to work with Debian, Ubuntu and CentOS.
Additional playbook wkhtmltopdf.yml is for optional package wkhtmltopdf.

To use ansible playbooks:

  1. install ansible following the tutorial
  2. add the following lines to file /etc/ansible/hosts for installation on local machine:
    [local]
    localhost ansible_connection=local
  3. run ansible-playbook:
    ansible-playbook main.yml to prepare environment for bench package
    or ansible-playbook wkhtmltopdf.yml to install optional package wkhtmltopdf.