Note, I've not supplied tests for this, but I have tested extensively with the k5-skeleton-infrastructure playbooks, and it works...
Tests should have (when I get a chance to submit):
1) Create server group "affinity", create two hosts with the affinity group, confirm they are on the same server
2) Create server group "anti-affinity", create two hosts with the anti-affinity group, confirm they are on different servers
I also need to provide docs to show how to consume the server groups using os_server.
Note, I've not supplied tests for this, but I have tested extensively with the k5-skeleton-infrastructure playbooks, and it works...
Tests should have (when I get a chance to submit): 1) Create server group "affinity", create two hosts with the affinity group, confirm they are on the same server 2) Create server group "anti-affinity", create two hosts with the anti-affinity group, confirm they are on different servers
I also need to provide docs to show how to consume the server groups using os_server.