Failed to validate GPG signature for mysql-community-release-el7-5.noarch - reg

746 views
Skip to first unread message

Prabhakaran Karuppaih

unread,
Oct 24, 2020, 4:11:07 AM10/24/20
to Ansible Project
  - name: Install the MySQL repo.
    dnf:
      state: present

Error:

TASK [Install the MySQL repo.] *****************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to validate GPG signature for mysql-community-release-el7-5.noarch"}

PLAY RECAP *************************************************************************************************************************************************************
localhost                  : ok=3    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

Prabhakaran Karuppaih

unread,
Oct 24, 2020, 6:53:56 AM10/24/20
to ansible...@googlegroups.com
Hope someone will reply...Work at stake  :(

With Hope,
Prabhakaran

--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/H5E6y_RtwLE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f5da8625-fab1-4f06-89fd-31a47b501a96n%40googlegroups.com.

Dick Visser

unread,
Oct 24, 2020, 1:43:42 PM10/24/20
to ansible...@googlegroups.com
This seems to be not an ansible problem but rather something with the repository setup you have.

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/CANguL_y9V1aCiAkVgDmaKtcY_zid-%3DO%3DaYWgrkzbFsTY3EdMeg%40mail.gmail.com.
--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.

sven....@gmail.com

unread,
Oct 24, 2020, 2:47:49 PM10/24/20
to Ansible Project
try something like this before adding your package

- name: Import key for mysql-repo
  rpm_key
:
    state: present
    key: http://repo.mysql.com/RPM-GPG-KEY-mysql

Best regards
 Sven Probst

Prabhakaran Karuppaih

unread,
Oct 24, 2020, 7:15:25 PM10/24/20
to ansible...@googlegroups.com
Thanks Sven. That works for me...

Reply all
Reply to author
Forward
0 new messages