Hi, folks
I create my first playbook and I’d like, if possible, comments.
https://github.com/marcelojscosta/ansible-example-playbooks/blob/master/bootnode.yml
I had doubts in the use of rsync and when I change the owner of a directory and also for copying flat files to specific directories like .bashrc, 10-fastcgi.conf and lighttpd.conf.
In fact, I first create the directory, then I copy the data recursively with rsync and then change the owner of the directory that was created. (user: www-data group: www-data)
Did can I do these tasks with fewer lines?
My approach is correct?
Thanks,
Marcelo Costa