kwoodson / ansible-role-yedit

Ansible Role for Yaml editing
165 stars 62 forks source link

[test append to top level] fails on macos #64

Open ssbarnea opened 5 years ago

ssbarnea commented 5 years ago

The last test is currently broken and I am not sure why:

TASK [test append to top level] **********************************************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: __main__.YeditException: Error adding to object at path: [1]
fatal: [localhost]: FAILED! => {
    "changed": false,
    "rc": 1
}

MSG:

MODULE FAILURE
See stdout/stderr for the exact error

MODULE_STDERR:

Traceback (most recent call last):
  File "<stdin>", line 113, in <module>
  File "<stdin>", line 105, in _ansiballz_main
  File "<stdin>", line 48, in invoke_module
  File "/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/ansible_yedit_payload_eHOw09/__main__.py", line 1022, in <module>
  File "/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/ansible_yedit_payload_eHOw09/__main__.py", line 1014, in main
  File "/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/ansible_yedit_payload_eHOw09/__main__.py", line 931, in run_ansible
  File "/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/ansible_yedit_payload_eHOw09/__main__.py", line 833, in process_edits
  File "/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/ansible_yedit_payload_eHOw09/__main__.py", line 719, in put
  File "/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/ansible_yedit_payload_eHOw09/__main__.py", line 385, in add_entry
__main__.YeditException: Error adding to object at path: [1]