Files
Janik von Rotz 0acb6d11d2 feat(roles): migrate role kind metadata to galaxy_info section and update visualization script
- Moved all role kind classifications from top-level to `galaxy_info.kind` for standardized Ansible Galaxy compatibility
- Updated `bin/visualize-dependencies` script to support both legacy and new `galaxy_info.kind` formats
- Standardized metadata structure across all 108 roles while maintaining backward compatibility
- This change enables better tooling integration and aligns with Ansible Galaxy best practices
2026-05-13 16:09:53 +02:00
..

kind
kind
application
odoo_data logo

Odoo Data role

Generate Odoo data modules.

Usage

Configure the role.

odoo_data_dir: /usr/share/odoo # default: "/usr/share/{{ odoo_hostname }}"
odoo_data:
  - id: ir_mail_server_1
    module_name: ir_mail_server_data
    display_name: "Mail Server Example"
    version: 19.0.1.0.0
    records:
      - model: ir.mail_server
        fields:
          name: Infomaniak Outgoing
          smtp_host: mail.infomaniak.com
          smtp_port: 587
          smtp_encryption: starttls
          smtp_user: odoo@example.com
          smtp_pass: "{{ vault_odoo_data_smtp_pass }}"
          enabled:
            attribute: eval
            value: "True"
  - id: provider_mint_system
    module_name: auth_oauth_provider_data
    display_name: "Login Mint System"
    version: 18.0.1.0.0
    depends: auth_oauth_keycloak
    records:
      - model: auth.oauth.provider
        fields:
          name: Login Mint System
          body: Login Mint System
          client_id: odoo.mint-system.ch
          enabled:
            attribute: eval
            value: "True"
          css_class: fa fa-fw fa-sign-in text-primary
          auth_endpoint: https://login.mint-system.ch/realms/mint-system.ch/protocol/openid-connect/auth
          scope: profile
          validation_endpoint: https://login.mint-system.ch/realms/mint-system.ch/protocol/openid-connect/userinfo

Include the role in your playbook.

- hosts: odoo
  roles:
  - role: odoo_data