It copy files to one server or more depending some variables, uses templates,... nothing really fancy.
Then I asked a friend that knows Ansible a few questions and showed him the code. His first comment was: "That works but there are a lot of bad things that you shouldn't do that way".