Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
Fix for .setup_complete change
Browse files Browse the repository at this point in the history
  • Loading branch information
openstax-bot committed Feb 17, 2020
1 parent c17001f commit 0f91b3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions roles/setup/tasks/first_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@
- nginx

- name: tag environment as configured
become: no
become: yes
become_user: "{{ user['name'] }}"
file:
path: "{{ app_dir }}/.setup-complete"
path: "{{ user['home'] }}/.setup-complete"
state: touch
tags:
- configure-confirm
2 changes: 1 addition & 1 deletion roles/setup/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

- name: determine if this is first run
stat:
path: "{{ app_dir }}/.setup-complete"
path: "{{ user['home'] }}/.setup-complete"
follow: yes
get_attributes: no
get_checksum: no
Expand Down

0 comments on commit 0f91b3d

Please sign in to comment.