Produced by Araxis Merge on 5/14/2018 1:18:37 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks | gpg_installed.yml | Tue Mar 27 23:51:10 2018 UTC |
| 2 | MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks | gpg_installed.yml | Tue May 8 03:18:49 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 104 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | # Ansible Playbook | |
| 2 | # Erik van Oudheusde n PII - 19 Sep 2 017 | |
| 3 | # | |
| 4 | # Ensure R ed Hat GPG Key Insta lled | |
| 5 | ||
| 6 | --- | |
| 7 | - name: En sure Red H at GPG Key Installed | |
| 8 | hosts: r hel7 | |
| 9 | become: yes | |
| 10 | tasks: | |
| 11 | - name: "Read perm ission of GPG key di rectory" | |
| 12 | stat: | |
| 13 | path : /etc/pki /rpm-gpg/ | |
| 14 | regist er: gpg_ke y_director y_permissi on | |
| 15 | check_ mode: no | |
| 16 | tags: | |
| 17 | - en sure_redha t_gpgkey_i nstalled | |
| 18 | - hi gh | |
| 19 | - CC E-26957-1 | |
| 20 | ||
| 21 | # It shoul d fail if it doesn't find any fingerprin ts in file - maybe f ile was no t parsed w ell. | |
| 22 | ||
| 23 | - name: "Read sign atures in GPG key" | |
| 24 | shell: "gpg --wi th-fingerp rint '/etc /pki/rpm-g pg/RPM-GPG -KEY-redha t-release' | grep 'K ey fingerp rint =' | tr -s ' ' | sed 's;. *= ;;g'" | |
| 25 | change d_when: Fa lse | |
| 26 | regist er: gpg_fi ngerprints | |
| 27 | check_ mode: no | |
| 28 | tags: | |
| 29 | - en sure_redha t_gpgkey_i nstalled | |
| 30 | - hi gh | |
| 31 | - CC E-26957-1 | |
| 32 | ||
| 33 | - name: "Set Fact: Valid fin gerprints" | |
| 34 | set_fa ct: | |
| 35 | gpg _valid_fin gerprints: ("567E 34 7A D004 4A DE 55BA 8A 5F 199E 2F 91 FD43 1D 51" "43A6 E49C 4A38 F4BE 9ABF 2A53 4568 9C88 2FA6 58E0") | |
| 36 | tags: | |
| 37 | - en sure_redha t_gpgkey_i nstalled | |
| 38 | - hi gh | |
| 39 | - CC E-26957-1 | |
| 40 | ||
| 41 | - name: "Import Re dHat GPG k ey" | |
| 42 | rpm_ke y: | |
| 43 | stat e: present | |
| 44 | key: /etc/pki/ rpm-gpg/RP M-GPG-KEY- redhat-rel ease | |
| 45 | when: | |
| 46 | (gpg _key_direc tory_permi ssion.stat .mode <= ' 0755') | |
| 47 | and (( gpg_fin gerprints. stdout_lin es | diffe rence(gpg_ valid_fing erprints)) | length == 0) | |
| 48 | and (gpg_finge rprints.st dout_lines | length > 0) | |
| 49 | and (ansible_d istributio n == "RedH at") | |
| 50 | tags: | |
| 51 | - en sure_redha t_gpgkey_i nstalled | |
| 52 | - hi gh | |
| 53 | - CC E-26957-1 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.