Commit Graph

6 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 07ae836651 Deprecate rsyslog_server role
Depends-On: https://review.opendev.org/c/openstack/project-config/+/863079
Change-Id: I2abe014ede0e3fa4ed07b22990c95beb2b847222
2022-10-31 16:59:05 +01:00
Jonathan Rosser f5fd3452c0 Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible

Change-Id: I1351347e9f2308c7a4c0ad41f0e0335071756f5e
2021-03-16 08:55:13 +00:00
Markos Chandras a1fbb19ddd Add SUSE support
Add support for SUSE based distributions. We also update the bindep.txt,
run_tests.sh and Vagrantfile files from the openstack-ansible-tests
repository.

Change-Id: Id96d9eec52e136b4be5acbd4657de3ebd4f25980
2017-04-05 16:02:32 +01:00
Jarrad Battaglia a09e5ea5a6 Ensure rsyslog restarts after configuration file changes
Added rsyslog restart handlers to each rsyslog_server_post_install task.
There was an issue when rsyslog_post_install would stop its service,
it would automatically get restarted and the service would not listen
for incoming logs. This now ensures that the rsyslog service will
be restarted after configuration files are changed.
Add rsyslog_pid_name to variable files for distrubition changes for rsyslogd pid

Change-Id: I757387e8f7f7209b1ab928208894ecf4bf510efc
Partial-Bug: 1636017
2017-02-01 15:49:03 -05:00
Travis Truman d46d7eab77 Rename package lists (and related vars) appropriately
In order to make it easier to differentiate between the lists of
python packages, distribution packages, downloaded packages,
package pins and other similar variables the variable names are
being changed to ensure that they have a more explicit suffix
that defines the purpose and makes the naming more consistent.

This is to facilitate a lookup plugin which will be able to look
up all the package lists and present them as a consolidated piece
of data which may be used for artifact preparation.

Change-Id: I625c11a3ebc4ab15d6c3db9ec5858d6a90d43c52
2016-08-26 12:06:41 -04:00
Michael Gugino 66349a80d7 Multi-distro support for rsyslog-server role
This is an implementation of a pattern for multi-distro support by
including logic to deploy packages via either apt-get or yum.

This change has been tested with CentOS 7 and Ubuntu 14.04.  Package
names and other distro/family specific variables are supplied via one
of the files in vars/ utilizing the following precedence:

"{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yml"
"{{ ansible_distribution | lower }}.yml"
"{{ ansible_os_family | lower }}.yml"

In this change, only the files corresponding to 'ansible_os_family'
have been provided.  The included 'families' are 'debian' and 'redhat'

This allows for support of distros other than Ubuntu and CentOS, such
as Debian and Fedora, more easily in the future.

Change-Id: I78c8c3be9d00fc505fabc83de36dfd43b8e85848
2016-03-08 13:14:17 -05:00