HomeHome ArchiveArchive

Only copy files when there are any with ansible

Lets say you have a service that needs to be configured, and that service has optional configuration files - if the configuration file is there, then it is used, if not then not.

How would you configure such a service with ansible?

Read on