nickjj/ansigenome

Breaks with inline vault-encrypted variables

Opened this issue · 1 comments

When running ansigenome export on my project I get:

 contains 1 or more syntax errors:
could not determine a constructor for the tag '!vault'
  in "<string>", line 15, column 22:
    foo: !vault |

ansigenome needs to tell PyYAML how to load them, like https://github.com/ansible/ansible/blob/e241e15899d864fdad67e198c0bce3457622a01c/lib/ansible/parsing/yaml/objects.py#L73

This might have been fixed, ran the version with inline vault-strings, worked for me.