idealista / nginx_role

Ansible role to install nginx http and reverse proxy server
7 stars 2 forks source link

[111] Fix old server deletion task #112

Closed xtianae7 closed 2 years ago

xtianae7 commented 2 years ago

Requirements

Description of the Change

Fix the behavior of deletion tasks of old servers.

Basically, this is what was happening: https://italchemy.wordpress.com/2021/07/23/ansible-with_items-vs-loop-whats-the-difference/

Benefits

Bugfix. The role will do its intended behavior

Possible Drawbacks

If someone was using this role and was accidentally working with a server configuration that is no longer in the playbook, on their next execution, that server configuration will be deleted.

Applicable Issues

Closes #111