--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/32365982.212197.1642256863668%40office.mailbox.org.
regexp: 'MYHOME=/opt/db/mysql/mariadb-10.0.23-linux-x86_64'line: MYHOME=/opt/db/mysql/mariadb-10.5.4-linux-x86_64
where {{ mariadb_base }} equals /opt/db/mysql
the error I am getting is:
TASK [mariadb_install : replace mariadb version in " /opt/db/mysql"/bin/.myenv] *******************************************************************
fatal: [vm-51150-0198]: FAILED! => changed=false
msg: Destination /opt/db/mysql/bin/.myenv does not exist !
rc: 257
however checking on the target I can see that the file /opt/db/mysql/bin/.myenv actually does exist
--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/32365982.212197.1642256863668%40office.mailbox.org.
--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEMGyLJ4VnaPr9Wghgbtu7Fc%2BX0d_e%2BjDuK5ubdBd%2BzNjhGQrA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1767078023.213453.1642258729221%40office.mailbox.org.
I want to change replace a particular line in an exiting file (after having pushed a template of it to the remote)
--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/32365982.212197.1642256863668%40office.mailbox.org.
Hi
On Sat, 15 Jan 2022 at 15:28, dulhaver via Ansible Project <ansible...@googlegroups.com> wrote:
I want to change replace a particular line in an exiting file (after having pushed a template of it to the remote)
If you are already using a template, why not just that instead of lineinfile...?
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwNNirY6ffx098fNhu0uA_Rue2SixaUjaXEJ2xFDY%3DtLYA%40mail.gmail.com.
On 01/15/2022 9:01 PM Todd Lewis <uto...@gmail.com> wrote:
You have a space on either end of your "path:" parameter. Changepath: " {{ mariadb_base }}/bin/.myenv "topath: "{{ mariadb_base }}/bin/.myenv"and see if that works better.
--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fc8c8248-9669-4278-8919-a571deabd19en%40googlegroups.com.