OSC / ood-ansible

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

ood_portal.yml permissions too strict #156

Closed simonLeary42 closed 2 years ago

simonLeary42 commented 2 years ago

https://github.com/OSC/ood-ansible/blob/9dc82d7b4cae1ea40e6e83d81722d304c7164023/tasks/configure.yml#L22

When I start my ondemand-dex service, (started under user ondemand-dex) I get permission denied on this file. Is there a reason that the world shouldn't be able to read this config?

simonLeary42 commented 2 years ago

whole code block:

- name: template ood_portal.yml
  template:
    src: "ood_portal.yml.j2"
    dest: "{{ ood_base_conf_dir }}/ood_portal.yml"
    mode: 'u=rw,g=r,o='
  notify: update ood portal
simonLeary42 commented 2 years ago

I was under the assumption that I was supposed to point ondemand-dex at this file, but it doesn't appear to be a valid config file for this service. https://github.com/OSC/ood-documentation/issues/704