Skip to content

Commit

Permalink
schleuder-web: ensure correct permissions
Browse files Browse the repository at this point in the history
Otherwise, bundle invocations might fail due to permission errors.
  • Loading branch information
nevart committed May 21, 2024
1 parent 754d3a3 commit 4f5fa2e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasks/schleuder_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@
ansible_ssh_pipelining: True
when: __schleuder_repo_clone.changed # noqa: no-handler

- name: Ensure correct permissions
ansible.builtin.file:
group: "{{ schleuder_schleuder_web_user }}"
path: "{{ schleuder_schleuder_web_path }}"
recurse: true
owner: "{{ schleuder_schleuder_web_user }}"

- name: Set bundle global config options
ansible.builtin.command: "/usr/local/bin/bundle config set --global {{ item }}"
changed_when: false
Expand Down

0 comments on commit 4f5fa2e

Please sign in to comment.