Closed mbukatov closed 6 years ago
This is related to assert tasks only, eg. debug module can still handle list of strings as a value for msg option with ansible 2.7:
- hosts: localhost
connection: local
tasks:
- debug:
msg:
- "Using as etcd fqdn in tendrl config files."
- "Using as etcd ip address in etcd config file."
- "Using as graphite fqdn in tendrl config files."
ok: [localhost] => {
"msg": [
"Using as etcd fqdn in tendrl config files.",
"Using as etcd ip address in etcd config file.",
"Using as graphite fqdn in tendrl config files."
]
}
Since ansible 2.7, it's no longer possible to use list of strings as a value for
msg
option ofassert
task.See eg. what we are using in prechecks playbook:
When run with ansible 2.7, it fails on:
Additional Details
Ansible 2.7 was released on Oct 4 2018, and it still waits to reach Fedora or EPEL (at the time of reporting this issue).