Skip to content

Commit db75ead

Browse files
committed
feat: add role fingerprints to syslog
Feature: Add a fingerprint string to the system log to indicate when the role began successfully, and when the role finished successfully. The fingerprint string indicates the role name, a timestamp, and the platform. Reason: Users can see when the role was used and if it was used successfully. This information from the system log can be collected by log scanners and aggregators for further analysis. Result: The role logs fingerprints to the system log. This also adds a test to check if the fingerprints were written upon a successful role invocation. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
1 parent 6ce8c00 commit db75ead

18 files changed

Lines changed: 139 additions & 0 deletions

.sanity-ansible-ignore-2.10.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
plugins/modules/timesync_provider.sh shebang
22
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license

.sanity-ansible-ignore-2.11.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
plugins/modules/timesync_provider.sh shebang
22
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license

.sanity-ansible-ignore-2.12.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
plugins/modules/timesync_provider.sh shebang
22
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license

.sanity-ansible-ignore-2.13.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
plugins/modules/timesync_provider.sh shebang
22
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license

.sanity-ansible-ignore-2.14.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ plugins/modules/timesync_provider.sh shebang
22
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license
33
plugins/modules/timesync_provider.sh validate-modules:invalid-extension
44
plugins/modules/timesync_provider.sh validate-modules:python-syntax-error
5+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license

.sanity-ansible-ignore-2.15.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ plugins/modules/timesync_provider.sh shebang
22
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license
33
plugins/modules/timesync_provider.sh validate-modules:invalid-extension
44
plugins/modules/timesync_provider.sh validate-modules:python-syntax-error
5+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license

.sanity-ansible-ignore-2.16.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ plugins/modules/timesync_provider.sh shebang
22
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license
33
plugins/modules/timesync_provider.sh validate-modules:invalid-extension
44
plugins/modules/timesync_provider.sh validate-modules:python-syntax-error
5+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license

.sanity-ansible-ignore-2.17.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ plugins/modules/timesync_provider.sh shebang
22
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license
33
plugins/modules/timesync_provider.sh validate-modules:invalid-extension
44
plugins/modules/timesync_provider.sh validate-modules:missing-gplv3-license
5+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license

.sanity-ansible-ignore-2.18.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ plugins/modules/timesync_provider.sh shebang
22
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license
33
plugins/modules/timesync_provider.sh validate-modules:invalid-extension
44
plugins/modules/timesync_provider.sh validate-modules:missing-gplv3-license
5+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license

.sanity-ansible-ignore-2.19.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ plugins/modules/timesync_provider.sh shebang
22
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license
33
plugins/modules/timesync_provider.sh validate-modules:invalid-extension
44
plugins/modules/timesync_provider.sh validate-modules:missing-gplv3-license
5+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license

0 commit comments

Comments
 (0)