I am going to raise a list of changes to locally developed debian packages. I use 'Ansible' to call 'dch' from the devscripts package. I use Ansible because I already have subversion paths to the packages listed in the Ansible variable. I would like to be able to enter the actual change message as a command line variable, but it seems that ansible cannot parse spaces in the variables entered on the command line.
I tried
ansible-playbook tag_changelog_on_packages.yml -e changelog_message="testing testing"
ansible-playbook tag_changelog_on_packages.yml -e changelog_message='testing testing'
ansible-playbook tag_changelog_on_packages.yml -e changelog_message=testing\ testing
ansible-playbook tag_changelog_on_packages.yml -e changelog_message="testing\ testing"
In all cases, I get only the first "test". The last attempt makes a possible crash with ValueError: No escaped character, probably because the space is missing.
Did I miss something?
Greetings
source
share