2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

Set default shell as bash for frappe user

- Commented the reason for using particular version of wkhtmltopdf
- Changes the default shell to bash for frappe user
This commit is contained in:
Ameya Shenoy 2018-04-09 11:43:07 +05:30
parent 63047730c5
commit 9b24458a96
No known key found for this signature in database
GPG Key ID: 735490161CD5C91E
2 changed files with 4 additions and 0 deletions

View File

@ -33,4 +33,6 @@
recurse: yes
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'CentOS' or ansible_distribution == 'Debian'
- name: Change default shell to bash
shell: "chsh {{ frappe_user }} -s $(which bash)"
...

View File

@ -17,6 +17,8 @@
- xfonts-base
when: ansible_os_family == 'Debian'
# wkhtmltopdf has been locked down to 0.12.3 intentionally since 0.12.4 has problems.
# I you want to upgrade try it on multiple platforms and then decide
- name: download wkthmltox linux
get_url: url=https://github.com/frappe/wkhtmltopdf/raw/master/wkhtmltox-0.12.3_linux-generic-{{ "amd64" if ansible_architecture == "x86_64" else "i386"}}.tar.xz dest=/tmp/wkhtmltox.tar.xz