Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-8902

Correct permissions and ownership must be set on files and directories created by edpm-ansible playbooks and roles

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Major Major
    • None
    • rhos-18.0.0
    • edpm-ansible
    • None
    • Files and directories managed by ansible must have correct ownership
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • Proposed
    • Proposed
    • To Do
    • Proposed
    • Proposed
    • 0% To Do, 0% In Progress, 100% Done

      Multiple configuration files, folders containing them, as well as other files and directories, created by roles and playbooks from edpm-ansible, have incorrect permissions or ownership set.

      This can cause issues while executing operations as underprivileged user. Preventing modification, or even access, to important files.

      This can be especially painful during day1 and day 2 operations.

      In order for the the permissions and ownership to be set correctly, tasks creating them need to either explicitly set them, or they have to be executed under appropriate user.

      At this time the general `ansible_user` as defined in [1] will be used unless another, more appropriate option is required or already used. If this is not defined, the `ansible_user_id` will be used as a fallback.

       

      [1]https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html#connecting-to-hosts-behavioral-inventory-parameters

              jpodivin@redhat.com Jiri Podivin
              jpodivin@redhat.com Jiri Podivin
              rhos-dfg-df
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: