ansible-role-yedit icon indicating copy to clipboard operation
ansible-role-yedit copied to clipboard

Ansible Role for Yaml editing

Results 48 ansible-role-yedit issues
Sort by recently updated
recently updated
newest added

Please tag each release with semantic versions in GitHub. This will allow users of this role (via Ansible Galaxy) to pin versions, and I think it will help import updates...

`%s` is not recognized by `str.format()`

Having the following _test.yaml_ file ```yaml :port: 1234 :host: 127.0.0.1 ``` The following task will not update the `:host`, silently. ```yaml --- - name: update host yedit: src: 'test.yml' state:...

I use ansible 2.7.9 (Ansible AWX 4.0.0.0), latest yedit. I found that yedit cannot parse the string if it begins from "!" sign, for example: somerole/tasks/main.yml ``` - name: import...

Hi you, I am using yedit to do a patch like operation on a kube ServiceAccount. Command : `kubectl patch serviceaccount default -n monitoring -p '{"imagePullSecrets": [{"name": "monitoring-de-icr-io"}]}'` When I...

lineinfile, blockinfile, replace, etc support a validate command that tests the resulting yaml before committing it. It'd be great if this could too, especially as netplan is becoming the standard...

Wrong install instruction (wrong role name) Wrong example (second task) missing information I'm testing the module atm so I'm not going to open a PR for now (still trying to...

Hi, I recently encountered a problem when using the yedit module. First, I executed the file module to modify the permissions of a file and changed it to 0600. Then...

Given this YAML passed to yedit: exclude_lines: - ^\s*(\(|\))\s*$ - ^\s+$ I end up with the following result: exclude_lines: - ^\\s*(\\(|\\))\\s*$ - ^\\s+$ This, naturally, breaks the regular expression that...

If I have a file like the following, the `password` value will actually be changed to `null`. This: ```yaml db: host: example.com user: test password: ``` Becomes: ```yaml db: host:...