The remote_src ended up being the issue with the copy.  Once i removed 
that, I was able to copy the RPM file, then give the absolute path to the 
yum/dnf module, and install as expected.  Thanks for the assistance!

Thanks,
Harry

On Thursday, June 8, 2023 at 8:53:11 AM UTC-4 Vladimir Botka wrote:

> On Thu, 8 Jun 2023 04:42:48 -0700 (PDT)
> "[email protected]" <[email protected]> wrote:
>
> > ...
> > - name: Copy the RPM locally
> > ansible.builtin.copy:
> > src: files/mysql-connector-j-8.0.33-1.el7.noarch.rpm
> > dest: /var/tmp/
> > owner: root
> > group: root
> > mode: 0644
> > remote_src: true
>
> This copy is rather confusing. You said the directory *files* is in a
> role, i.e. on the controller. Now you set *remote_src: true* which
> takes the source from the remote host.
>
> To isolate the problem. You should verify each step you make. In this
> case, before you run *yum*, verify the file
> */var/tmp/mysql-connector-j-8.0.33-1.el7.noarch.rpm* is present and
> readable.
>
> -- 
> Vladimir Botka
>

-- 
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/b0558334-2ba4-4dcd-8490-7b23e01c8d47n%40googlegroups.com.

Reply via email to