--- - hosts: all tasks: - name: Update all caches to avoid errors due to missing remote archives apt: update_cache: yes changed_when: False - hosts: parameters-mandatory roles: - role: database_server db_root_password: "root_password"