Skip to content

Commit

Permalink
use yoda_deployment_user instead of root to create folder
Browse files Browse the repository at this point in the history
  • Loading branch information
FuHsinyu committed Jul 31, 2024
1 parent c046cf7 commit 9458a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/yoda_portal/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@


- name: Ensure the portal config directory exists
become_user: "{{ yoda_deployment_user }}"
ansible.builtin.file:
path: "{{ config_folder_path }}"
state: directory
owner: "{{ yoda_deployment_user }}"
group: "{{ yoda_deployment_user }}"
mode: '0775'
become: true
become_user: "root"


- name: Copy Yoda Portal config for Flask
Expand Down

0 comments on commit 9458a42

Please sign in to comment.