Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ansible-playbooks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
github-mirror
ansible-playbooks
Commits
8a4831be
Commit
8a4831be
authored
May 08, 2017
by
Joelsy Porven Rubier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to use a custom Web server like nginx
parent
b71bcf55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
icinga2-ansible-web2-ui/tasks/icinga2_web2_ui_Debian_install.yml
...-ansible-web2-ui/tasks/icinga2_web2_ui_Debian_install.yml
+6
-2
icinga2-ansible-web2-ui/tasks/icinga2_web2_ui_RedHat_install.yml
...-ansible-web2-ui/tasks/icinga2_web2_ui_RedHat_install.yml
+7
-2
icinga2-ansible-web2-ui/vars/main.yml
icinga2-ansible-web2-ui/vars/main.yml
+2
-0
No files found.
icinga2-ansible-web2-ui/tasks/icinga2_web2_ui_Debian_install.yml
View file @
8a4831be
...
...
@@ -68,13 +68,17 @@
owner=nagios
group=nagios
mode=0640
-
name
:
Define web server daemon package.
set_fact
:
web_server_daemon
:
"
{{
__web_server_daemon_deb
}}"
when
:
web_server_daemon is not defined
-
name
:
Restart
HTTPD
and Icinga2 to Apply the Configuration
-
name
:
Restart
{{web_server_daemon}}
and Icinga2 to Apply the Configuration
service
:
name={{ item }}
state=restarted
enabled=yes
with_items
:
-
apache2
-
"
{{web_server_daemon}}"
-
icinga2
-
name
:
Add user www-data to group icingaweb2
...
...
icinga2-ansible-web2-ui/tasks/icinga2_web2_ui_RedHat_install.yml
View file @
8a4831be
...
...
@@ -83,12 +83,17 @@
group=icinga
mode=0640
-
name
:
Restart HTTPD and Icinga2 to Apply the Configuration
-
name
:
Define web server daemon package.
set_fact
:
web_server_daemon
:
"
{{
__web_server_daemon_rh
}}"
when
:
web_server_daemon is not defined
-
name
:
Restart {{ web_server_daemon }} and Icinga2 to Apply the Configuration
service
:
name={{ item }}
state=restarted
enabled=yes
with_items
:
-
httpd
-
"
{{
web_server_daemon
}}"
-
icinga2
-
name
:
Icinga Web2 Installation finished (RH)
...
...
icinga2-ansible-web2-ui/vars/main.yml
View file @
8a4831be
---
# vars file for icinga2-ansible-web2-ui
__web_server_daemon_deb
:
apache2
__web_server_daemon_rh
:
httpd
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment