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
01c05030
Commit
01c05030
authored
Mar 12, 2018
by
MAccadia
Committed by
aflatto
Mar 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set timezone in php.ini on Debian (#71)
Fix for :date.timezone' definition
parent
0bb81b3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
icinga2-ansible-web2-ui/handlers/main.yml
icinga2-ansible-web2-ui/handlers/main.yml
+5
-0
icinga2-ansible-web2-ui/tasks/icinga2_web2_ui_Debian_install.yml
...-ansible-web2-ui/tasks/icinga2_web2_ui_Debian_install.yml
+12
-0
No files found.
icinga2-ansible-web2-ui/handlers/main.yml
View file @
01c05030
...
...
@@ -4,3 +4,8 @@
service
:
name=icinga2
state=restarted
enabled=yes
-
name
:
restart apache2
service
:
name=apache2
state=restarted
enabled=yes
icinga2-ansible-web2-ui/tasks/icinga2_web2_ui_Debian_install.yml
View file @
01c05030
...
...
@@ -13,6 +13,18 @@
-
php-gd
-
name
:
Find out timezone
slurp
:
src
:
/etc/timezone
register
:
etc_timezone
-
name
:
Timezone in php.ini
lineinfile
:
path
:
/etc/php/7.0/apache2/php.ini
regexp
:
'
^;?date.timezone
='
line
:
'
date.timezone
=
"{{
etc_timezone["content"]
|
b64decode
|
regex_replace("\n")
}}"'
notify
:
restart apache2
-
name
:
Install Icinga2 IDO modules on Debian family
apt
:
name
:
icinga2-ido-mysql
...
...
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