--- - name: Generate Ignition config for CoreOS/Flatcar template: src: ignition.json.j2 dest: "/tmp/{{ vm_name }}_ignition.json" when: os_type == "coreos" or os_type == "flatcar" - name: Generate Cloud-init config for MicroOS template: src: user-data.yaml.j2 dest: "/tmp/{{ vm_name }}_user-data" when: os_type == "microos"