26216. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/14/2018 1:18:38 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.

26216.1 Files compared

# Location File Last Modified
1 MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks verify_hashes_with_RPM.yml Tue Mar 27 23:51:06 2018 UTC
2 MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks verify_hashes_with_RPM.yml Tue May 8 03:19:19 2018 UTC

26216.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 100
Changed 1 2
Inserted 0 0
Removed 0 0

26216.3 Comparison options

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

26216.4 Active regular expressions

No regular expressions were active.

26216.5 Comparison detail

  1   # Ansible  Playbook 
  2   # Erik van  Oudheusde PII                            - 19 Sep 2 017
  3   #
  4   # Verify F ile Hashes  with RPM
  5  
  6   ---
  7   - name: Ve rify File  Hashes wit h RPM
  8     hosts: r hel7
  9     become:  yes
  10     tasks:
  11     - name:  "Set fact:  Package m anager rei nstall com mand (dnf) "
  12       set_fa ct:
  13         pack age_manage r_reinstal l_cmd: dnf  reinstall  -y
  14       when:  ansible_di stribution  == "Fedor a"
  15       tags:
  16         - rp m_verify_h ashes
  17         - hi gh
  18         - CC E-27157-7
  19  
  20     - name:  "Set fact:  Package m anager rei nstall com mand (yum) "
  21       set_fa ct:
  22         pack age_manage r_reinstal l_cmd: yum  reinstall  -y
  23       when:  ansible_di stribution  == "RedHa t"
  24       tags:
  25         - rp m_verify_h ashes
  26         - hi gh
  27         - CC E-27157-7
  28  
  29     - name:  "Read file s with inc orrect has h"
  30       shell:  "rpm -Va  | grep -E  '^..5.* /( bin|sbin|l ib|lib64|u sr)/' | se d -r 's;^. *\\s+(.+); \\1;g'"
  31       args:
  32         warn : no
  33       regist er: files_ with_incor rect_hash
  34       change d_when: Fa lse
  35       when:  package_ma nager_rein stall_cmd  is defined
  36       check_ mode: no
  37       tags:
  38         - rp m_verify_h ashes
  39         - hi gh
  40         - CC E-27157-7
  41  
  42     - name:  "Reinstall  packages  of files w ith incorr ect hash"
  43       shell:  "{{packag e_manager_ reinstall_ cmd}} $(rp m -qf '{{i tem}}')"
  44       args:
  45         warn : no
  46       with_i tems: "{{  files_with _incorrect _hash.stdo ut_lines } }"
  47       when:  package_ma nager_rein stall_cmd  is defined  and (file s_with_inc orrect_has h.stdout_l ines | len gth > 0)
  48       tags:
  49         - rp m_verify_h ashes
  50         - hi gh
  51         - CC E-27157-7