Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Possible error in Nextcloud upgrade role #15

Open
chriscroome opened this issue Sep 21, 2018 · 2 comments
Open

Possible error in Nextcloud upgrade role #15

chriscroome opened this issue Sep 21, 2018 · 2 comments

Comments

@chriscroome
Copy link

Based on my testing I believe that this line:

https://github.com/yunity/yuca/blob/6c6f8a37d4152f6d9c74c4059d1a144f5317905f/roles/nextcloud-upgrade/tasks/main.yml#L9

Should be:

  failed_when: "'No update available' not in command_result.stdout and 'Update successful' not in command_result.stdout"

The "Update successful" output is on stabndard out and not standard error.

@tiltec
Copy link
Member

tiltec commented Sep 21, 2018

Thanks!
@alangecker did you run the upgrade playbook?

@chriscroome
Copy link
Author

For what is is worth my Nextcloud Ansible code is here:

https://git.coop/webarch/nextcloud

I copied your upgrade role into this file:

https://git.coop/webarch/nextcloud/blob/master/roles/nextcloud-upgrade/tasks/main.yml

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants