galaxyproject / ansible-postgresql

An Ansible role for managing a PostgreSQL server
https://galaxy.ansible.com/galaxyproject/postgresql
122 stars 58 forks source link

Escape initial ``-`` when passing ``postgresql_backup_rsync_backup_opts`` #52

Closed nsoranzo closed 9 months ago

nsoranzo commented 9 months ago

Fix https://github.com/galaxyproject/ansible-postgresql/issues/44 .

The above issue only arises in Python's argparse when postgresql_backup_rsync_backup_opts is "one word", which is why UseGalaxy.org doesn't see this ( https://github.com/galaxyproject/usegalaxy-playbook/blob/main/env/main/group_vars/dbservers/vars.yml#L8C1-L8C36 ).

hexylena commented 9 months ago

Thanks @nsoranzo, what a bizarre issue