--- # # Tasks to get nova facts # - name: Parse Nova config become: true command: python /tmp/openstack-config-parser.py nova /tmp/out.yml register: nova_parsed ignore_errors: true - name: Fetch output fetch: src=/tmp/out.yml dest=/tmp/out-{{ inventory_hostname }}.yml flat=yes when: nova_parsed is succeeded - name: Load configuration variables include_vars: /tmp/out-{{ inventory_hostname }}.yml when: nova_parsed is succeeded