1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #472 from jvonau/DB

Db - avoids MySQL & PostgreSQL Install-A-Thon

Closes #368
This commit is contained in:
A Holt 2017-10-28 07:41:54 -04:00 committed by GitHub
commit 322fd0a563
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 12 additions and 26 deletions

View file

@ -15,13 +15,16 @@
# has no "when: XXXXX_install" flag
tags: base, iiab-admin
- name: MYSQL
include_role:
name: mysql
# has no "when: XXXXX_install" flag
tags: base, mysql
- name: Make sure there is a content directory
file: dest={{ doc_root }}/local_content
state=directory
- name: Base Server Installed
command: echo Base Server Installed
- name: Restart httpd
service: name={{ apache_service }}
state=restarted

View file

@ -27,6 +27,12 @@
# has no "when: XXXXX_install" flag
tags: base, homepage
- name: POSTGRESQL
include_role:
name: postgresql
when: postgresql_install
tags: postgresql, pathagar, moodle
- name: AUTHSERVER
include_role:
name: authserver

View file

@ -1,3 +0,0 @@
---
dependencies:
- { role: mysql }

View file

@ -1,3 +0,0 @@
---
dependencies:
- { role: postgresql }

View file

@ -105,7 +105,6 @@
state=stopped
when: not mysql_enabled
- name: Add mysql to service list
ini_file: dest='{{ service_filelist }}'
section=mysql

View file

@ -1,3 +0,0 @@
---
dependencies:
- { role: mysql }

View file

@ -1,3 +0,0 @@
---
dependencies:
- { role: mysql }

View file

@ -1,3 +0,0 @@
---
dependencies:
- { role: postgresql }

View file

@ -1,4 +0,0 @@
---
allow_duplicates: yes
dependencies:
- { role: mysql, mysql_enabled: True }

View file

@ -1,3 +0,0 @@
---
dependencies:
- { role: mysql }