2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 09:14:04 +00:00
bench/os_packages/ansible_playbooks
2016-03-02 16:53:51 +05:30
..
roles [Enhancements]Installing pip and bench 2016-03-02 16:53:51 +05:30
main.yml [Enhancements]Installing pip and bench 2016-03-02 16:53:51 +05:30
readme.md [Enhancements]Installing pip and bench 2016-03-02 16:53:51 +05:30
wkhtmltopdf.yml [Enhancements]Installing pip and bench 2016-03-02 16:53:51 +05:30

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.