26217. EPMO Open Source Coordination Office Redaction File Detail Report

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

26217.1 Files compared

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

26217.2 Comparison summary

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

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

26217.4 Active regular expressions

No regular expressions were active.

26217.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:  Verify LVM  structure  of the Go lden Image
  10       hosts:  rhel7
  11       become : yes
  12       vars:
  13         eigh tGig:
  14           -  rootlv
  15           -  varlv
  16           -  varloglv
  17         tenG ig:
  18           -  usrlv
  19         twoG ig:
  20           -  homelv
  21           -  tmplv
  22           -  varlogaudi tlv
  23           -  optlv
  24           -  swaplv
  25       tasks:
  26       - name : Look for  the rootv g Volume G roup
  27         shel l: vgs | g rep root |  sed -n "s /^ *//; s/ \(rootvg\)  .*/\1/p"
  28         regi ster: Var_ Rootvg
  29         chan ged_when:  False
  30         args :
  31           wa rn: no
  32       - name : Report t he VG name
  33         debu g:
  34           ms g: "LVM Ro ot Volume  Group is { { Var_Root vg.stdout  }}"
  35       - fail :
  36           ms g: "ERROR  MESSAGE: T he expecte d LVM ROOT  Volume Gr oup, rootv g, does no t exist."
  37         when : Var_Root vg.stdout  != "rootvg "
  38  
  39       - name : Checking  LV rootlv
  40         lvol :
  41           vg : rootvg
  42           lv : rootlv
  43           si ze: 8G
  44           fo rce: yes
  45           ac tive: yes
  46           st ate: prese nt
  47         regi ster: root lvstatus
  48       - name : Creating  filesyste m for root lv if the  LV was cre ated by th is playboo k.
  49         file system:
  50           de v: /dev/ro otvg/rootl v
  51           fs type: ext4
  52         when : rootlvst atus.chang ed
  53  
  54       - name : Checking  LV varlv
  55         lvol :
  56           vg : rootvg
  57           lv : varlv
  58           si ze: 8G
  59           fo rce: yes
  60           ac tive: yes
  61           st ate: prese nt
  62         regi ster: varl vstatus
  63       - name : Creating  filesyste m for varl v if the L V was crea ted by thi s playbook .
  64         file system:
  65           de v: /dev/ro otvg/varlv
  66           fs type: ext4
  67         when : varlvsta tus.change d
  68  
  69       - name : Checking  LV usrlv
  70         lvol :
  71           vg : rootvg
  72           lv : usrlv
  73           si ze: 10G
  74           fo rce: yes
  75           ac tive: yes
  76           st ate: prese nt
  77         regi ster: usrl vstatus
  78       - name : Creating  filesyste m for usrl v if the L V was crea ted by thi s playbook .
  79         file system:
  80           de v: /dev/ro otvg/usrlv
  81           fs type: ext4
  82         when : usrlvsta tus.change d
  83  
  84       - name : Checking  LV homelv
  85         lvol :
  86           vg : rootvg
  87           lv : homelv
  88           si ze: 2G
  89           fo rce: yes
  90           ac tive: yes
  91           st ate: prese nt
  92         regi ster: home lvstatus
  93       - name : Creating  filesyste m for home lv if the  LV was cre ated by th is playboo k.
  94         file system:
  95           de v: /dev/ro otvg/homel v
  96           fs type: ext4
  97         when : homelvst atus.chang ed
  98  
  99       - name : Checking  LV tmplv
  100         lvol :
  101           vg : rootvg
  102           lv : tmplv
  103           si ze: 2G
  104           fo rce: yes
  105           ac tive: yes
  106           st ate: prese nt
  107         regi ster: tmpl vstatus
  108       - name : Creating  filesyste m for tmpl v if the L V was crea ted by thi s playbook .
  109         file system:
  110           de v: /dev/ro otvg/tmplv
  111           fs type: ext4
  112         when : tmplvsta tus.change d
  113  
  114       - name : Checking  LV varlog lv
  115         lvol :
  116           vg : rootvg
  117           lv : varloglv
  118           si ze: 8G
  119           fo rce: yes
  120           ac tive: yes
  121           st ate: prese nt
  122         regi ster: varl oglvstatus
  123       - name : Creating  filesyste m for varl oglv if th e LV was c reated by  this playb ook.
  124         file system:
  125           de v: /dev/ro otvg/varlo glv
  126           fs type: ext4
  127         when : varloglv status.cha nged
  128       - name : "Add the  VarLog Fi leSystem t o /etc/fst ab."
  129         line infile:
  130           pa th: /etc/f stab
  131           in sertafter:  EOF
  132           li ne: /dev/m apper/root vg-varlogl v /var/log  ext4 defa ults,nodev  1 2
  133       - name : "Mount t he VarLog  FileSystem "
  134         scri pt: ../fil es/varlog. sh MountVa rLog
  135  
  136       - name : Checking  LV varlog auditlv
  137         lvol :
  138           vg : rootvg
  139           lv : varlogau ditlv
  140           si ze: 2G
  141           fo rce: yes
  142           ac tive: yes
  143           st ate: prese nt
  144         regi ster: varl ogauditlvs tatus
  145       - name : Creating  filesyste m for varl ogauditlv  if the LV  was create d by this  playbook.
  146         file system:
  147           de v: /dev/ro otvg/varlo gauditlv
  148           fs type: ext4
  149         when : varlogau ditlvstatu s.changed
  150       - name : "Add the  VarLogAud it FileSys tem to /et c/fstab."
  151         line infile:
  152           pa th: /etc/f stab
  153           in sertafter:  EOF
  154           li ne: /dev/m apper/root vg-varloga uditlv /va r/log/audi t ext4 def aults,node v 1 2
  155       - name : "Mount t he VarLogA udit FileS ystem"
  156         scri pt: ../fil es/varlog. sh MountVa rLogAudit
  157  
  158       - name : Checking  LV optlv
  159         lvol :
  160           vg : rootvg
  161           lv : optlv
  162           si ze: 2G
  163           fo rce: yes
  164           ac tive: yes
  165           st ate: prese nt
  166         regi ster: optl vstatus
  167       - name : Creating  filesyste m for optl v if the L V was crea ted by thi s playbook .
  168         file system:
  169           de v: /dev/ro otvg/optlv
  170           fs type: ext4
  171         when : optlvsta tus.change d
  172  
  173       - name : Checking  LV swaplv
  174         lvol :
  175           vg : rootvg
  176           lv : swaplv
  177           si ze: 2G
  178           fo rce: yes
  179           ac tive: yes
  180           st ate: prese nt
  181         regi ster: swap lvstatus
  182  
  183       - name : Check if  the /var/ log2 direc tory exist s. if yes  delete it.
  184         stat :
  185           pa th: /var/l og2
  186         regi ster: Loca lLogDir
  187       - name : remove t he /var/lo g2 directo ry if it e xists.
  188         file :
  189           pa th: /var/l og2
  190           st ate: absen t
  191         when : LocalLog Dir.stat.i sdir is de fined and  LocalLogDi r.stat.isd ir