We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b1f5ac + a5b4da0 commit d856bd3Copy full SHA for d856bd3
linux_os/guide/system/software/updating/ensure_redhat_gpgkey_installed/ansible/shared.yml
@@ -64,9 +64,7 @@
64
{{% endif %}}
65
66
- name: "{{{ rule_title }}}: Import RedHat GPG key"
67
- ansible.builtin.rpm_key:
68
- state: present
69
- key: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
+ ansible.builtin.command: rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
70
when:
71
- gpg_key_directory_permission.stat.mode <= '0755'
72
- (gpg_installed_fingerprints | difference(gpg_valid_fingerprints)) | length == 0
0 commit comments