Hi
In group_vars I declared the following variables:
version:
stf: 2.6.0.0
build: 01.0
and later use it in tasks:
- name: copy task example
copy:
src=/var/rpms/functions-{{version.stf}}-{{version.build}}.x86_64.rpm
dest=/tmp
When running the playbook I get this error:
msg: could not find src=/var/rpms/functions-2.6.0.0-*1.0*.x86_64.rpm
when first zero is omitted from build variable
How can I fix that ?
Thanks
Gregory
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/a3eb8199-d67a-44f1-a105-30702a785725%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.