Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nginx package installation #157

Merged
merged 1 commit into from
Jan 27, 2017
Merged

Conversation

jdauphant
Copy link
Owner

No description provided.

jdauphant referenced this pull request Jan 27, 2017
* moved SELinux related stuff to own file

- conditionally included only when SELinux enabled, fixes #28
- unification of the way how Python SELinux libs are installed on RedHat and Debian based systems

* simplified install tasks

- reduced number of tasks in installation.packages.yml to 3
- this utilizes the package module instead of apt, yum, zypper, ...
- replaced nginx_redhat_pkg, nginx_ubuntu_pkg, nginx_freebsd_pkg, nginx_suse_pkg which all hold the same content with a new variable
- new variable nginx_pkgs contains "nginx" by default but is still a list to allow users to configure further nginx related packages they want to install

* set SELinux boolean httpd_setrlimit to allow nginx setting the rlimit

- is necessary because this role forces the setting of worker_rlimit_nofile
- introduces the need of libsemanage-python/python-semanage but since installation of SELinux modules is conditional, this does not hurt
@jdauphant jdauphant merged commit 9c80f69 into master Jan 27, 2017
@jdauphant jdauphant deleted the fix/installation-without-official branch November 12, 2017 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant