OSC / ood-ansible

An ansible role for Open Ondemand
MIT License
30 stars 31 forks source link

Add support_ticket option #208

Closed seniormuffinman closed 1 year ago

seniormuffinman commented 1 year ago

Hi Team,

I added the support_ticket option to the corresponding template and example in the defaults. Tested this in my environment and it seems to work okay.

Results of my ondemand.d/ondemand.yml (trimmed the empty lines)

pinned_apps_menu_length: 6
pinned_apps_group_by: ""

pinned_apps:
  - sys/jupyter
  - sys/rstudio
  - sys/files
  - sys/shell
  - sys/bc_desktop/cluster

dashboard_layout:
  rows:
  - columns:
    - widgets:
      - motd
      - pinned_apps
      - recently_used_apps
      width: 8
    - widgets:
      - xdmod_widget_job_efficiency
      - xdmod_widget_jobs
      width: 4

support_ticket:
  attachments:
    max_items: 4
    max_size: 6291456
  description: 'My optional description Text for the support ticket feture '
  email:
    delivery_method: smtp
    delivery_settings:
      address: <SMTP>
      enable_starttls_auto: true
      open_timeout: 15
      port: 587
      read_timeout: 15
    from: config@example.com
    to: support@example.com
johrstrom commented 1 year ago

Thanks for the pull request! This is fine - but somehow tests are broken. I don't think it's related to this change - I'm sure it's something else. I'll submit another pull request to fix the tests.