2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-10 09:02:10 +00:00
bench/playbooks/roles/bench/tasks/setup_bench_production.yml
2018-03-08 21:44:12 +05:30

20 lines
390 B
YAML

---
- name: Setup production
become: yes
become_user: root
command: bench setup production {{ frappe_user }}
args:
chdir: '{{ bench_path }}'
- name: Setup Sudoers
become: yes
become_user: root
command: bench setup sudoers {{ frappe_user }}
args:
chdir: '{{ bench_path }}'
- name: Restart the bench
command: bench restart
args:
chdir: '{{ bench_path }}'
...