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

ruamel.yaml no longer supports load and safe_load methods. `File \"/usr/local/lib/python3.10/dist-packages/ruamel/yaml/main.py\", line 1105, in safe_load\n error_deprecation('safe_load', 'load', arg=\"typ='safe', pure=True\")\n File \"/usr/local/lib/python3.10/dist-packages/ruamel/yaml/main.py\", line 1039, in error_deprecation\n raise AttributeError(s, name=None)\nAttributeError: \n\"safe_load()\" has been...

I need to edit a yaml file to add disk entries to a list. I tried with and without setting update, append and insert options but everytime the existing entries...

Hi ! I really like your tool but I would like to know if it's still maintained ? Downer

Please? I think ruamel.yaml can keep the order of the yaml if you tell it to?

Hi, I would like to ensure that an item is in a list. For that I can use `update: yes`: ```yaml - name: Test hosts: [localhost] gather_facts: no roles: -...

Open the temporary file with the same permissions as set on the original file to ensure permissions are preserved when we overwrite via the atomic rename. Fixes https://github.com/kwoodson/ansible-role-yedit/issues/77.

Hello! Yedit sorts all of the parameters in the source yaml file according to the alphabet and removes the lines, which start from "#". Is this a regular behavior? Can...