add custom index.php
This commit is contained in:
parent
0236d26274
commit
056e2f131b
1 changed files with 12 additions and 0 deletions
|
@ -28,3 +28,15 @@
|
||||||
state: link
|
state: link
|
||||||
path: /etc/nagios4/stylesheets
|
path: /etc/nagios4/stylesheets
|
||||||
src: /usr/src/nagio4_theme/stylesheets
|
src: /usr/src/nagio4_theme/stylesheets
|
||||||
|
|
||||||
|
- name: Get custom theme index.php stats
|
||||||
|
stat:
|
||||||
|
path: /usr/src/nagio4_theme/index.php
|
||||||
|
register: index_php
|
||||||
|
|
||||||
|
- name: Copy custom index.php
|
||||||
|
copy:
|
||||||
|
remote_src: true
|
||||||
|
src: /usr/src/nagio4_theme/index.php
|
||||||
|
dest: /usr/share/nagios4/htdocs/index.php
|
||||||
|
when: index_php.stat.exists
|
||||||
|
|
Loading…
Reference in a new issue