-
Notifications
You must be signed in to change notification settings - Fork 116
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
Use {{ ansible_managed }} instead of 'This file is managed by Ansible, all changes will be lost'? #120
Comments
We used |
Fair enough. With a static variable defined in
|
Right, we made the change to a static string well before it was tweakable in |
I'm all for using Nice to hear that Yes, |
I think this is relatively easy doable with a short shell script. Try
|
* Would not be found be debops/debops#120 * git ls-files | xargs sed -i 's/This file is managed remotely, all changes will be lost/{{ ansible_managed }}/'
* Would not be found by debops/debops#120 * `git ls-files | xargs sed -i 's/This file is managed remotely, all changes will be lost/{{ ansible_managed }}/'`
* Would not be found by debops/debops#120 * `git ls-files | xargs sed -i 's/\(This file is managed remotely, all changes will be lost|This file is managed remotely, some changes might be overwritten\)/{{ ansible_managed }}/'`
* Would not be found by debops/debops#120 * `git ls-files | xargs sed -i 's/\(This file is managed remotely, all changes will be lost\|This file is managed remotely, some changes might be overwritten\)/{{ ansible_managed }}/'`
…, all changes will be lost'. debops/debops#120
Note that the |
What do you think?
Currently it is only used in a few places.
Is your debops.plan related to this?
The text was updated successfully, but these errors were encountered: