Im getting that bug happen to me, but Im on 2.9.2

 % dpkg -l ansible

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-
pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name                                                          Version   
                          Architecture                        Description

+++-=============================================================-===================================-===================================-================================================================================================================================

ii  ansible                                                       2.9.2-1ppa
~xenial                   all                                 Ansible IT 
Automation



The code in question:
msg: "/usr/lib/postgresql-{{ postgresqlversion }}/bin/pg_dump -h 
/run/postgresql/{{ postgresqlversion }} -C --clean {{ dbname  }}| 
/usr/bin/pigz > {{ dbbackuplocation }}/{{ oldversion }}_{{ dbname }}_{{ 
dbbackups.matched }}.sql.gz"

In the above, oldscmversion is:

 % cat vars/demo-scmversion.yml

oldversion: 19.10

However the resulting filename for the above once rendered is "19.1" 
Ill confess to not know how to find out what version of ansible that bug 
was actually addressed, but given it was back in 2015, I suspect the fix 
referred to is in the version I am using. Can anyone help / suggest a work 
around?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1e5b51de-4c31-4539-82ac-5e61be4acae1%40googlegroups.com.

Reply via email to