Skip to content

Commit

Permalink
Updated install to set owner on files DO-659
Browse files Browse the repository at this point in the history
  • Loading branch information
layfield-ccdc authored Apr 22, 2024
1 parent 893a184 commit 91b038e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/install_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
state: directory
mode: 0775
recurse: true
owner: "{{ teamcity_build_username }}"
loop: "{{ teamcity_agents }}"

- name: "Check for existing configuration (Non Windows)"
Expand All @@ -22,6 +23,7 @@
src: "{{ teamcity_downloaded_buildagent_zip }}"
dest: "{{ teamcity_agent_install_dir }}/{{ item.item.teamcity_agent_name }}"
creates: "{{ teamcity_agent_install_dir }}/{{ item.item.teamcity_agent_name }}/bin/agent.sh"
owner: "{{ teamcity_build_username }}"
remote_src: true
when:
- not item.stat.exists
Expand Down

0 comments on commit 91b038e

Please sign in to comment.