kwoodson / ansible-role-yedit

Ansible Role for Yaml editing
165 stars 62 forks source link

key validation failure #84

Open atodorov-storpool opened 4 years ago

atodorov-storpool commented 4 years ago

Having the following test.yaml file

:port: 1234
:host: 127.0.0.1

The following task will not update the :host, silently.

---
- name: update host
  yedit:
    src: 'test.yml'
    state: present
    key: ':host'
    value: '0.0.0.0'