Skip to content

Commit b94f3d0

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 09f4336 commit b94f3d0

17 files changed

Lines changed: 138 additions & 0 deletions

‎.sanity-ansible-ignore-2.11.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
plugins/modules/network_connections.py validate-modules:missing-gplv3-license
22
plugins/modules/network_state.py validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license
34
tests/network/ensure_provider_tests.py shebang!skip

‎.sanity-ansible-ignore-2.12.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
plugins/modules/network_connections.py validate-modules:missing-gplv3-license
22
plugins/modules/network_state.py validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license
34
tests/network/ensure_provider_tests.py shebang!skip

‎.sanity-ansible-ignore-2.13.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
plugins/modules/network_connections.py validate-modules:missing-gplv3-license
22
plugins/modules/network_state.py validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license
34
tests/network/ensure_provider_tests.py shebang!skip

‎.sanity-ansible-ignore-2.14.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
plugins/modules/network_connections.py validate-modules:missing-gplv3-license
22
plugins/modules/network_state.py validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license
34
tests/network/ensure_provider_tests.py shebang!skip

‎.sanity-ansible-ignore-2.15.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
plugins/modules/network_connections.py validate-modules:missing-gplv3-license
22
plugins/modules/network_state.py validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license
34
tests/network/ensure_provider_tests.py shebang!skip

‎.sanity-ansible-ignore-2.16.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
plugins/modules/network_connections.py validate-modules:missing-gplv3-license
22
plugins/modules/network_state.py validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license
34
tests/network/ensure_provider_tests.py shebang!skip

‎.sanity-ansible-ignore-2.17.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
plugins/modules/network_connections.py validate-modules:missing-gplv3-license
22
plugins/modules/network_state.py validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license
34
tests/network/ensure_provider_tests.py shebang!skip

‎.sanity-ansible-ignore-2.18.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
plugins/modules/network_connections.py validate-modules:missing-gplv3-license
22
plugins/modules/network_state.py validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license
34
tests/network/ensure_provider_tests.py shebang!skip

‎.sanity-ansible-ignore-2.19.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
plugins/modules/network_connections.py validate-modules:missing-gplv3-license
22
plugins/modules/network_state.py validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license
34
tests/network/ensure_provider_tests.py shebang!skip

‎.sanity-ansible-ignore-2.20.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
plugins/modules/network_connections.py validate-modules:missing-gplv3-license
22
plugins/modules/network_state.py validate-modules:missing-gplv3-license
3+
plugins/modules/sr_fingerprint.py validate-modules:missing-gplv3-license
34
tests/network/ensure_provider_tests.py shebang!skip

0 commit comments

Comments
 (0)