Skip to content

Instantly share code, notes, and snippets.

@oskar456

oskar456/data.yaml

Last active Oct 18, 2020
Embed
What would you like to do?
Ansible bug with datetime in data
---
data_1:
- id: 1
key: hello
- id: 2
key: world
data_2:
- id: 1
key: hello
- id: 2
key: 2020-10-18
...
---
- hosts: localhost
become: no
vars_files: data.yaml
tasks:
- debug:
var: item.id
with_items: "{{ data_1 }}"
- debug:
var: item.id
with_items: "{{ data_2 }}"
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.