Skip to content

Commit

Permalink
RHELPLAN-68108 - Collections - Logging - fixing ansible-test errors
Browse files Browse the repository at this point in the history
- Adding roles/rsyslog/meta/main.yml for the private sub-role rsyslog
- Removing obsolete molecule/default/{INSTALL.rst,playbook.yml,yaml-lint.yml}
- Fixing an ansible-lint error on the double-quotes
- Fixing a shellcheck error (Note: #!/bin/bash only takes -eux or its subset)
  • Loading branch information
nhosoi committed Feb 22, 2021
1 parent 4b07edf commit b8855d5
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 50 deletions.
16 changes: 0 additions & 16 deletions molecule/default/INSTALL.rst

This file was deleted.

5 changes: 0 additions & 5 deletions molecule/default/playbook.yml

This file was deleted.

26 changes: 0 additions & 26 deletions molecule/default/yaml-lint.yml

This file was deleted.

18 changes: 18 additions & 0 deletions roles/rsyslog/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
galaxy_info:
author: Noriko Hosoi <[email protected]>
description: Private Ansible Logging sub-role for configuring rsyslog
galaxy_tags: ['logging', 'rsyslog', 'redhat', 'fedora', 'centos']
company: Red Hat, Inc.
license: GPL-3.0-only,MIT
min_ansible_version: 2.7
platforms:
- name: Fedora
versions:
- all
- name: EL
versions:
- 7
- 8

allow_duplicates: true
2 changes: 1 addition & 1 deletion roles/rsyslog/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ __rsyslog_default_pki_authmode: "x509/name"
__rsyslog_tls_netstream_driver: "gtls"

# Specifying the TLS library used by librelp.
# Note that gnutls is the current default for historic reasons.
# Note that `gnutls` is the current default for historic reasons.
__rsyslog_tls_library: "gnutls"

# Rsyslog configuration rules
Expand Down
4 changes: 2 additions & 2 deletions tests/setup_module_utils.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
#!/bin/bash -eu
# SPDX-License-Identifier: MIT

set -euo pipefail
set -o pipefail

if [ -n "${DEBUG:-}" ] ; then
set -x
Expand Down

0 comments on commit b8855d5

Please sign in to comment.