Add playbook to federate instances together
@jbpasquier This adds the abitility to federate instances together (as a cartesian product).
For example, with the tests instances:
$ ansible-playbook federate.yml -l tests
PLAY [Federate instances together] ***********************************************************************
TASK [Get existing websites] *****************************************************************************
TASK [alwaysdata : Get the existing sites from the Alwaysdata API] ***************************************
ok: [test2]
ok: [test3]
ok: [test1]
TASK [Select informations about the current website] *****************************************************
ok: [test1]
ok: [test2]
ok: [test3]
TASK [Federate instances] ********************************************************************************
changed: [test3] => (item=test1)
changed: [test1] => (item=test1)
changed: [test2] => (item=test1)
changed: [test2] => (item=test2)
changed: [test3] => (item=test2)
changed: [test1] => (item=test2)
changed: [test2] => (item=test3)
changed: [test1] => (item=test3)
ok: [test3] => (item=test3)
Only test3 was locally federated. Which matches what you just told me about being forced to do it manually.