You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to execute the role on Ubuntu 20.04.5 LTS and always get failed while performing
- name: Update apt cache if MySQL is not yet installed.
apt: update_cache=yes
changed_when: False
when: not mysql_installed.stat.exists
This could be because of organizational policy/restriction.
mysql can be installed even if cache was not updated.
To do this, I added ignore_errors: true in playbook, but this means that every error is ignored and not only update cache.
Would it be possible to add a variable and use this for ingore_errors on task level or to disable update cache?
The text was updated successfully, but these errors were encountered:
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
I try to execute the role on Ubuntu 20.04.5 LTS and always get failed while performing
This could be because of organizational policy/restriction.
mysql can be installed even if cache was not updated.
To do this, I added ignore_errors: true in playbook, but this means that every error is ignored and not only update cache.
Would it be possible to add a variable and use this for ingore_errors on task level or to disable update cache?
The text was updated successfully, but these errors were encountered: