Alwaysdata add and delete accounts
I believe that these changes enable the accounts to be listed in the hosts.yml
file and when the Ansible is run the accounts are added or deleted from Alwaysdata.
I don't think the Ansible I have written is the most elegant Ansible that is possible (using lots of loop
's rather than map
or another more complicated method) however this will all run on the client side (so is fast) and it works and I understand it -- I hope that is OK!
See the updated README.md
for some notes.
One thing I wasn't sure about is what exactly the product
number is used for, I have set it to default to 8 when adding an account if it isn't defined.