Skip to content

Commit

Permalink
Only template out as a separate step when explicitly requested
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed Sep 19, 2023
1 parent fa91871 commit 8d472ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions ansible/_set_up_directories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@
group: deploy
become: true

- name: Move .env file to shared directory
ansible.builtin.template:
src: "templates/dotenv.j2"
dest: "{{ project_root }}/shared/.env"
mode: "0755"
owner: deploy
group: deploy
become: true

- name: Link .env to shared directory
ansible.builtin.file:
src: "{{ project_root }}/shared/.env"
Expand Down
2 changes: 1 addition & 1 deletion ansible/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
update_front_end_deps: true

# create new dotenv file in shared directory (use when adding new env vars)
update_dotenv: true
update_dotenv: false

supervisor_restart: true
supervisor_user: "deploy"
Expand Down

0 comments on commit 8d472ac

Please sign in to comment.