bennojoy / ntp

ansible role ntp
28 stars 102 forks source link

ERROR! environment must be a dictionary, received env (<class 'ansible.parsing.yaml.objects.AnsibleU nicode'>) #14

Open oppianmatt opened 8 years ago

oppianmatt commented 8 years ago

After upgrading to ansible 2.0 I get the above error message.

looks like this is it https://github.com/ansible/ansible/issues/11912

Change is to fix the environment line to be:

environment: "{{ env }}"