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

fetch latest version of ansible-pull-script.sh at the start #24

Open
martbhell opened this issue Jul 1, 2016 · 0 comments
Open

fetch latest version of ansible-pull-script.sh at the start #24

martbhell opened this issue Jul 1, 2016 · 0 comments

Comments

@martbhell
Copy link
Contributor

martbhell commented Jul 1, 2016

When there is an update to ansible-pull-script.sh available on the install node's httpd the cronjob has to first run once with the old version, at the end fetch the latest one and then the next time the cronjob runs it will use the new one.

Can we check if there is a new version available at the start and then in some way launch a new version of the script from within the script?

Low priority? Either wait cron interval*2 or run ansible-pull manually. Also I'm not sure how to accomplish this nicely.

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

No branches or pull requests

1 participant