--- - name: Deploy morgan.mcmillian.dev site hosts: web vars: html_location: /var/www/html/morgan.mcmillian.dev tasks: - name: Sync html directory ansible.posix.synchronize: src: public/https/ dest: "{{ html_location }}/"