Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: enable maintenance mode after asset fetching #68

Merged
merged 2 commits into from
Jun 14, 2022
Merged

fix: enable maintenance mode after asset fetching #68

merged 2 commits into from
Jun 14, 2022

Conversation

d7oc
Copy link
Contributor

@d7oc d7oc commented Jun 13, 2022

This PR contains a possible solution for #66. I changed the execution order so that the tmp directory is created first, then the download is initiated and afterwards the maintenance mode is activated. This way the maintenance mode isn't activated when the download fails.

The reason to mode the tmp directory creation into a separate block is that the tmp directory is also required, when the install shouldn't happen through a download (condition - not owncloud_install_from_filesystem | bool).

tasks/setup.yml Outdated Show resolved Hide resolved
@xoxys xoxys changed the title Possible solution for https://github.com/owncloud-ansible/owncloud/issues/66 fix: enable maintenance mode after asset fetching Jun 14, 2022
@xoxys xoxys merged commit 75bb315 into owncloud-ansible:main Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance mode should be activate after successful download of ownCloud tarball
2 participants