I separate my creation and provisioning into aws.yml and site.yml.
Often we start with a few servers and then increase the size of a cluster later.
I’d like to use aws exact_count in the aws.yml so that it is idempotent but I do not want to allow destructive behavior.
It would be nice if we could pass allow_destroy to ec2_module so that exact_count would have “at least” semantics.
It can be pretty dangerous if you forget to limit the playbook correctly and accidentally delete a bunch of servers because your scope was too large.
I think non-destructive behaviour as a default would have avoided this situation as well.
https://github.com/ansible/ansible/issues/9431
Would a pr for this be considered?
Kesten Broughton
512 701 4209