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/20230608145250.63fea001%40gmail.com.
pgpKINmHPNEdC.pgp
Description: OpenPGP digital signature
