--- - include_vars: "{{ansible_distribution}}.yml" - name: Install dependencies apt: name={{item}} with_items: - cron - gzip - python-boto - s3cmd - set_fact: backup_duplicity_pkg="{{backup_duplicity_pkg}}={{backup_duplicity_version}}" when: backup_duplicity_version - name: Install duplicity apt: pkg={{backup_duplicity_pkg}}