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

SET-626 Olympus - Ensure Ansible updates Nginx images #234

Closed

Conversation

RanabirChakraborty
Copy link
Contributor

@rpelisse
Copy link
Collaborator

@RanabirChakraborty That won't work. You are using rpm and dnf commands on the target (Olympus) while nginx runs as container based on image pulled. You need to change the podman role so that, when the container is based on a pulled image, Ansible performs the pull BEFORE starting the associated container.
You also need to think about idempotency, meaning that if the pulled image is changed (ie updated) you need to notify the nginx services to restart.

@rpelisse rpelisse closed this Jan 16, 2024
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.

2 participants