kwoodson / ansible-role-yedit

Ansible Role for Yaml editing
165 stars 62 forks source link

Updated Examples to reflect default separater, instead of custom one #57

Closed fbuchmeier closed 5 years ago

fbuchmeier commented 5 years ago

The default separator is set to '.', however, the examples in README.md and in yedit.py use '#' instead.

  separator:
    description:
    - The separator being used when parsing strings.
    required: false
    default: '.'
    aliases: []
desimaniac commented 5 years ago

I'm glad I came here and read this. Couldn't figure out why it wasn't working.

BarbzYHOOL commented 5 years ago

No, I just tried with "." and it doesn't work "ERROR! Syntax Error while loading YAML. did not find expected key "

@kwoodson

kwoodson commented 5 years ago

@fbuchmeier thanks for the PR.

kwoodson commented 5 years ago

@BarbzYHOOL, if you have an example of what you are trying to do, please file an issue and we can look at it. Thanks.

BarbzYHOOL commented 5 years ago

@kwoodson I tried your example and it added a var called a#b#c, so I read this and replaced with a.b.c and it didn't work

so nothing seems to work or maybe I don't understand one bit