Skip to content

Idempotent default server removal

Compare
Choose a tag to compare
@ramondelafuente ramondelafuente released this 11 Oct 11:53
· 15 commits to master since this release

When using the flag nginx_set_default_server, a default.conf file is written that returns a 404 on everything. But due to the preceding "state-absent" task, this was not idempotent, and would result in
remove and add on every provisioning run.