Skip to content

Conversation

tomschlick
Copy link

While running the current version I was getting

failed: [db-a] (item={'name': 'mysql-2023', 'url': 'https://repo.mysql.com/RPM-GPG-KEY-mysql-2023'}) => {"ansible_loop_var": "item", "changed": true, "cmd": ["gpg", "--dearmor", "/etc/apt/trusted.gpg.d/mysql-2023.asc", "--output", "/etc/apt/trusted.gpg.d/mysql-2023.gpg"], "delta": "0:00:00.008785", "end": "2025-08-31 02:37:55.097924", "item": {"name": "mysql-2023", "url": "https://repo.mysql.com/RPM-GPG-KEY-mysql-2023"}, "msg": "non-zero return code", "rc": 2, "start": "2025-08-31 02:37:55.089139", "stderr": "gpg: Note: '--output' is not considered an option\nusage: gpg [options] --dearmor [file]", "stderr_lines": ["gpg: Note: '--output' is not considered an option", "usage: gpg [options] --dearmor [file]"], "stdout": "", "stdout_lines": []} 

Basically the command had the wrong order of arguments. Modifying locally to the proposed version works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant