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

Files will not be updated #2

Open
it-praktyk opened this issue Jan 28, 2020 · 1 comment
Open

Files will not be updated #2

it-praktyk opened this issue Jan 28, 2020 · 1 comment

Comments

@it-praktyk
Copy link

I really appreciate your work to improve the ansible-role-nrpe-client role.

I've analyzed how that works and I've found that the role will not update existing files even when the software version will be changed.

That it's caused by using the command module with the creates parameter.

IMHO, the better option can be using the make module and checking existence/hashes of files to copy by using the stat module.

What do you think about that?

@wilmardo
Copy link
Owner

@it-praktyk Sounds good, thanks for the suggestion! I have a revise of my Ansible roles on my todo mostly because Molecule has changed drastically.
I will pick up this change when updating the role but feel free to submit a PR!

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

No branches or pull requests

2 participants