Paths
Where the configuration, forms, playbooks, uploads and backups live
| Variable | Choices/Defaults | Comments |
|---|---|---|
| BACKUP_PATH string | Default: %PERSISTENT_FOLDER%/backups | Backup path
Ansible Forms can backup the database and forms. This is the path where the backups are stored. The backup folder is created at first start if not present and a timestamp folder is created for each backup. |
| CONFIG_PATH string added in version 6.1.0 | Default: %PERSISTENT_FOLDER%/config.yaml | config.yaml path
The config.yaml file contains application configuration (categories, roles, constants). |
| FORMS_FOLDER_PATH string added in version 6.1.0 | Default: %PERSISTENT_FOLDER%/forms | Forms folder path
The directory where individual form YAML files are stored. Forms can be organized in subdirectories within this folder. |
| FORMS_STAGING_PATH string added in version 6.1.0 | Default: %PERSISTENT_FOLDER%/forms_staging | Forms staging folder path
When forms come from a git repository, a form created or edited in the designer is written here first and only lands in the repository once it is pushed. The loader reads this folder alongside the repository ones, so a staged form is usable immediately. |
| FORMS_PATH string | Default: %PERSISTENT_FOLDER%/forms.yaml | forms.yaml path (DEPRECATED)
DEPRECATED in v6.0.0 - Use CONFIG_PATH and FORMS_FOLDER_PATH instead. The forms.yaml file was the legacy configuration file that combined both configuration and forms. Please migrate to the new structure:
|
| LOCK_PATH string | Default: %PERSISTENT_FOLDER%/ansibleForms.lock | Designer lock file path
Only 1 user can use the designer, so we use a locking file to hold the current owners information. |
| FORMS_BACKUP_PATH string added in version 4.0.3 | Default: %PERSISTENT_FOLDER%/form_backups | Backup path for form backups
When backups are made, they end up in this path |
| HOME_PATH string added in version 3.0.0 | Default: OS Homedir path | The users home directory
Ansible Forms generates an sshkey at first start, is one is not present, so you can have a git connection or other password-less connection. |
| REPO_PATH string added in version 3.0.0 | Default: %PERSISTENT_FOLDER%/repositories | Repositories path
This path is the root path for your local repositories, allowing you to integrate data with git repositories. |
| VARS_FILES_PATH string added in version 6.1.0 | Default: %PERSISTENT_FOLDER%/vars | Base path for vars files
Base directory for resolving relative paths in form varsFiles property. Absolute paths in varsFiles are used as-is. Relative paths are resolved against this directory. Allows centralized management of shared variable files across forms. |
| ANSIBLE_PATH string | Default: %PERSISTENT_FOLDER%/playbooks | The path of the ansible playbooks (local instance)
Ansible Forms can have a local ansible instance. This path says where the playbooks are. |
| UPLOAD_PATH string added in version 4.0.16 | Default: %PERSISTENT_FOLDER%/uploads | The path for file uploads
Since 4.0.16, a new field type is introduced that allows file uploads. The files are uploaded in this path. |