File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change 14
14
validate_certs : false
15
15
when : not glpiinstalled.stat.exists or glpi_update
16
16
17
- - name : Configure and install database in GLPI
18
- command :
19
- cmd : >
20
- php bin/console db:install -H {{ glpi_db_host }} -P {{ glpi_db_port }} -d {{ glpi_db_name }} -u {{ glpi_db_user }}
21
- -p {{ glpi_db_password }} -L {{ glpi_lang }} -q
22
- args :
23
- chdir : " {{ glpi_install_path }}/glpi/"
24
- when : not glpiinstalled.stat.exists
25
-
26
- - name : Update database
27
- command :
28
- cmd : php bin/console db:update
29
- args :
30
- chdir : " {{ glpi_install_path }}/glpi/"
31
- when : glpi_update
32
-
33
- - name : Check if config_db.php exists
34
- stat :
35
- path : " {{ glpi_install_path }}/glpi/config/config_db.php"
36
- register : glpiconfigdb
37
-
38
- - name : Change config_db.php owner
39
- file :
40
- path : " {{ glpi_install_path }}/glpi/config/config_db.php"
41
- owner : " {{ glpi_web_owner }}"
42
- group : " {{ glpi_web_group }}"
43
- when : glpiconfigdb.stat.exists
44
-
45
- - name : Delete /install directory
46
- file :
47
- path : " {{ glpi_install_path }}/glpi/install/"
48
- state : absent
49
-
50
17
- name : Download plugins
51
18
get_url :
52
19
url : " {{ item }}"
You can’t perform that action at this time.
0 commit comments