Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.48k stars 2.79k forks source link

Ansible automation of Dolibarr Tasks #26421

Open JonBendtsen opened 1 year ago

JonBendtsen commented 1 year ago

Feature Request

I wish I could use Ansible to automate tasks, configuration, changes, ... in Dolibarr. This could be stuff like configuration, user creation, backup, order status, approval, creation, communication with thirdparties and contacts. At least all that is currently possible using the API, but stuff beyond what the API offers would be fantastic too.

Use case

Ansible is fast becoming one of the most used tools for automation, and Dolibarr should have it too.

Suggested implementation

Probably access through the API, but not everything is accesible through the API. Some triggers could possibly be used too.

Suggested steps

No response

JonBendtsen commented 3 months ago

When I wrote this wish I actually meant a Dolibarr collection for ansible, as I knew that I could always just call curl from ansible and thus communicate using the API.

But I just discovered another method which is to use the ansible.builtin.uri module https://docs.ansible.com/ansible/latest/collections/ansible/builtin/uri_module.html