Description
When running sudo bench setup production [frappe_user] on Ubuntu server 22.04 with Bench version 5.26, the command fails due to outdated keywords used in the Ansible playbooks.
To Reproduce
- Install Ubuntu server 22.04.
- Install Bench version 5.26. (Instructions on how to install Bench can be found on the Frappe Framework documentation https://frappeframework.com/docs/user/en/installation)
- Run the command:
sudo bench setup production [frappe_user] (Replace [frappe_user] with your desired username)
Expected behavior
The bench setup production command should successfully configure the production environment for your Frappe application.
OS
Version Information
- Bench Branch: 5.X
- Frappe Version: 14
- ERPNext Version: 14
Additional context
The outdated keywords in the Ansible playbooks are likely causing the command to fail. The affected changes can be seen in the attached screenshots.
Possible Solution
Updating the Ansible keywords in the relevant playbooks to be compatible with Ubuntu 22.04 might resolve the issue.
