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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | MCCF_EDI_TAS_Infrastructure.zip\MCCF_EDI_TAS_Infrastructure\mag_sys_build\playbooks | verify_permissions_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_permissions_with_rpm.yml | Tue May 8 03:19:20 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 64 |
| 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 - 25 Aug 2 017 | |
| 3 | # | |
| 4 | # Verify a nd Correct File Perm issions wi th RPM | |
| 5 | ||
| 6 | --- | |
| 7 | - name: Ve rify and C orrect Fil e Permissi ons with R PM | |
| 8 | hosts: r hel7 | |
| 9 | become: yes | |
| 10 | tasks: | |
| 11 | - name: "Read list of files with incor rect permi ssions" | |
| 12 | shell: "rpm -Va | grep '^. M' | sed - r 's;^.*\\ s+(.+);\\1 ;g'" | |
| 13 | args: | |
| 14 | warn : no | |
| 15 | regist er: files_ with_incor rect_permi ssions | |
| 16 | failed _when: Fal se | |
| 17 | change d_when: Fa lse | |
| 18 | check_ mode: no | |
| 19 | tags: | |
| 20 | - rp m_verify_p ermissions | |
| 21 | - hi gh | |
| 22 | - CC E-27209-6 | |
| 23 | ||
| 24 | - name: "Correct f ile permis sions with RPM" | |
| 25 | shell: "rpm --se tperms $(r pm -qf '{{ item}}')" | |
| 26 | args: | |
| 27 | warn : no | |
| 28 | with_i tems: "{{ files_with _incorrect _permissio ns.stdout_ lines }}" | |
| 29 | when: files_with _incorrect _permissio ns.stdout_ lines | le ngth > 0 | |
| 30 | tags: | |
| 31 | - rp m_verify_p ermissions | |
| 32 | - hi gh | |
| 33 | - CC E-27209-6 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.