2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-10 09:02:10 +00:00
bench/os_packages/ansible_playbooks/readme.md
2016-03-02 16:53:51 +05:30

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.