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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks | logging.yml | Tue Mar 27 23:51:06 2018 UTC |
| 2 | MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks | logging.yml | Tue May 8 03:18:57 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 164 |
| 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 | # Configur e Logging | |
| 5 | ||
| 6 | --- | |
| 7 | - name: Co nfigure Op enSSH Serv er if Nece ssary | |
| 8 | hosts: r hel7 | |
| 9 | become: yes | |
| 10 | tasks: | |
| 11 | - name: Create sud o config f ile | |
| 12 | copy: | |
| 13 | cont ent: "" | |
| 14 | dest : /etc/rsy slog.d/sud o.conf | |
| 15 | owne r: root | |
| 16 | grou p: root | |
| 17 | mode : 0644 | |
| 18 | - name: edit sudo config fil e | |
| 19 | linein file: | |
| 20 | path : /etc/rsy slog.d/sud o.conf | |
| 21 | line : 'local2. debug /var /log/sudo. log' | |
| 22 | - name: Log all su do actions Comment | |
| 23 | linein file: | |
| 24 | path : /etc/sud oers | |
| 25 | inse rtafter: " # %users localhost= /sbin/shut down -h no w" | |
| 26 | line : '#Added by VA CRIS P' | |
| 27 | - name: Log all su do actions Comment 2 | |
| 28 | linein file: | |
| 29 | path : /etc/sud oers | |
| 30 | inse rtbefore: "#Added by VA CRISP" | |
| 31 | line : '##' | |
| 32 | - name: Log all su do actions | |
| 33 | linein file: | |
| 34 | path : /etc/sud oers | |
| 35 | inse rtafter: " #Added by VA CRISP" | |
| 36 | line : 'Default s logfile= /var/log/s udo.log,lo glinelen=0 ' | |
| 37 | - name: edit sudoe rs logrota te file | |
| 38 | blocki nfile: | |
| 39 | path : /etc/log rotate.d/s udoers | |
| 40 | crea te: yes | |
| 41 | back up: yes | |
| 42 | mark er: "## {m ark} Added for VA CR ISP" | |
| 43 | owne r: root | |
| 44 | grou p: root | |
| 45 | mode : 0644 | |
| 46 | cont ent: | | |
| 47 | /v ar/log/sud o.log { | |
| 48 | week ly | |
| 49 | miss ingok | |
| 50 | rota te 4 | |
| 51 | comp ress | |
| 52 | dela ycompress | |
| 53 | copy truncate | |
| 54 | mins ize 100k | |
| 55 | } | |
| 56 | - name: Edit rsysl og to add daemon log ging comme nt | |
| 57 | linein file: | |
| 58 | path : /etc/rsy slog.conf | |
| 59 | inse rtafter: " local7.* /var /log/boot. log" | |
| 60 | line : '#Added by VA CRIS P' | |
| 61 | - name: Edit rsysl og to add daemon log ging comme nt | |
| 62 | linein file: | |
| 63 | path : /etc/rsy slog.conf | |
| 64 | inse rtafter: " #Added by VA CRISP" | |
| 65 | line : 'daemon. * / var/log/me ssages' | |
| 66 | # - name: Logrotate .conf Dail y rotate c omment | |
| 67 | # linei nfile: | |
| 68 | # pat h: /etc/lo grotate.co nf | |
| 69 | # bac krefs: yes | |
| 70 | # reg exp: '^# r otate log files week ly' | |
| 71 | # lin e: '# rota te log fil es daily' | |
| 72 | # - name: Logrotate .conf Dail y rotate s etting | |
| 73 | # linei nfile: | |
| 74 | # pat h: /etc/lo grotate.co nf | |
| 75 | # bac krefs: yes | |
| 76 | # reg exp: '^wee kly' | |
| 77 | # lin e: 'daily' | |
| 78 | - name: Logrotate. conf enabl e compress ion | |
| 79 | linein file: | |
| 80 | path : /etc/log rotate.con f | |
| 81 | back refs: yes | |
| 82 | rege xp: '^#com press' | |
| 83 | line : 'compres s' |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.