26184. EPMO Open Source Coordination Office Redaction File Detail Report

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.

26184.1 Files compared

# Location File Last Modified
1 MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks filesystems-MountOptions.yml Tue Mar 27 23:51:06 2018 UTC
2 MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks filesystems-MountOptions.yml Tue May 8 03:18:46 2018 UTC

26184.2 Comparison summary

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

26184.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

26184.4 Active regular expressions

No regular expressions were active.

26184.5 Comparison detail

  1   # Ansible  Playbook
  2   # David Ho lton, Half aker -  PII                     8 Nov 2017
  3  
  4   # This pla ybook is u sed for te sting Ansi ble setup  by returni ng
  5   # the host name of th e nodes in  the inven tory.
  6   #
  7  
  8   ---
  9     - name:  Set mount  options on  non-Root  local part itions in  fstab
  10       hosts:  rhel7
  11       become : yes
  12       tasks:
  13       - name : Set moun t options  for home.
  14         line infile:
  15           de stfile: /e tc/fstab
  16           ba ckup: yes
  17           re gexp: ' \/ home '
  18           li ne: '/dev/ mapper/roo tvg-homelv  /home ext 4 defaults ,nodev   1  2'
  19           ow ner: root
  20           gr oup: root
  21           mo de: 0644
  22    
  23       - name : Set moun t options  for var.
  24         line infile:
  25           de stfile: /e tc/fstab
  26           re gexp: ' \/ var '
  27           li ne: '/dev/ mapper/roo tvg-varlv  /var ext4  defaults,n odev   1 2 '
  28    
  29       - name : Set moun t options  for tmp.
  30         line infile:
  31           de stfile: /e tc/fstab
  32           re gexp: ' \/ tmp '
  33           li ne: '/dev/ mapper/roo tvg-tmplv  /tmp ext4  defaults,n odev,nosui d,noexec    1 2'
  34    
  35       - name : Test for  tmp bindi ng
  36         shel l: grep bi nd /etc/fs tab | grep  tmp
  37         regi ster: tmp_ bind
  38         chan ged_when:  false
  39         fail ed_when: f alse
  40  
  41       #- deb ug: msg="{ {tmp_bind. stdout}}"
  42    
  43       - name : Insert t emp bind l ine in fst ab if it d oes not ex ist 
  44         line infile:
  45           de stfile: /e tc/fstab
  46           in sertafter:  EOF
  47           li ne: '/tmp  /var/tmp n one bind 0  0'
  48         when : tmp_bind .stdout ==  ""
  49    
  50   # also
  51   # /var
  52   # /var/log
  53   # /var/log /audit
  54   #
  55   # These ge t nodev,no suid, and  noexec
  56   # /tmp
  57   # /dev/shm
  58   #
  59   # the /var /tmp direc tory shoul d be bound  mounted t o /tmp
  60   # /tmp /va r/tmp none  bind 0 0
  61   #
  62  
  63   # original  fstab con tent
  64   #/dev/mapp er/rootvg- rootlv /                          ext4    d efaults         1 1
  65   #UUID=f359 eb26-e124- 4cdd-a70b- 2a8246c267 ee /boot                     ext 4    defau lts         1 2
  66   #/dev/mapp er/rootvg- homelv /ho me                     ext4    d efaults         1 2
  67   #/dev/mapp er/rootvg- optlv /opt                       ext4    de faults         1 2
  68   #/dev/mapp er/rootvg- tmplv /tmp                       ext4    de faults         1 2
  69   #/dev/mapp er/rootvg- usrlv /usr                       ext4    de faults         1 2
  70   #/dev/mapp er/rootvg- varlv /var                       ext4    de faults         1 2
  71   #/dev/mapp er/rootvg- swaplv swa p                      swap    d efaults         0 0