2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-23 04:29:02 +00:00
bench/installers/ansible_playbooks/readme.md
2015-12-25 20:39:32 +03:00

701 B

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.