--- # Synchronize Application Code to Production Server # Wrapper Playbook for application role deploy_code tasks (rsync method) - hosts: production gather_facts: yes become: no vars: application_deployment_method: rsync tasks: - name: Include application deploy_code tasks (rsync) ansible.builtin.include_role: name: application tasks_from: deploy_code tags: - application - sync - code