Ansible Quickies – Useful Code Snippets

Delete a remote folders and files in Ansible file: path=/some-folder/some-subfolder state=absent   Sync files from a directory inside of another directory in Ansible synchronize: src=/home/fariazz/www/cursowordpress/wp-content/themes/twentyfifteen-child-zenva/ dest=/home/deideaaa/domains/gamedevacademy.org/public_html/wp-content/themes/twentyfifteen-child-zenva delete=yes   Execute bash … Read more