Hello all,
I use ansible to install software and do the first configuration and i like this very much.
But I want to achieve that I can recreate the running systems as detailled as posible from the outside with scripts, with ansible for example.
Maybe an example helps to clarify the problem:
Consider necxtcloud. The software consists of a webserver, a bunch of php-software and a database.
The configuration consists of
-
webserver configuration
-
php configuration
-
config.php (nextcloud)
-
tables in the database
The data consists of
- files in the filesystem
- tables in the databas
The webserver configuration and the php configuration can be defined in ansible and
distributed, no problem there.
The configuration tables in the database are changed via the web interface, i don’t see a realistic chance to to handle them with ansible at all.
The config.php can and will be changed via the web interface and If i overwrite the file with ansible I lose all these changes.
How do peaople handle this kind of situation ? I try to be disciplined and change the ansible files synchronous to configuration changes on the running system, but I would like to make this process bullet-proof.
Any ideas ?
Thanks a lot
Norbert