|
|
|
|
|
by hnlmorg
436 days ago
|
|
It’s not just Ansible. I’ve ran into this problem many times using many different configuration systems. Even in the old days of hand-rolling deployment scripts in Bash and Perl. Managing files instead of one big monolithic config is just easier because there’s less chance of you foobarring something in a moment of absentmindedness. But as I said, I’m not criticising your approach either. Templating your config is definitely a smart approach to the same problem too. |
|
You don't want instance-local changes. Do you? Afaiu, these changes are anti-pattern cause they do not persist in case of failure. You want to change the source templates and rebuild-repropagate the results. Having ./foo.d/nn-files is excessive and serves litte purpose in automated mode, unless you're dealing with clunky generators like ansible where you only have bash one-liners.
What am I missing?