-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
247 additions
and
361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,34 @@ | ||
mediawiki-apb | ||
================ | ||
[](https://travis-ci.org/ansibleplaybookbundle/mediawiki-apb) | ||
|
||
[](https://travis-ci.org/openshift/ansible-service-broker) | ||
MediaWiki APB | ||
========= | ||
|
||
Ansible Role for installing (and uninstalling) [mediawiki](https://www.mediawiki.org/) | ||
in a Kubernetes/OpenShift Cluster. | ||
|
||
Requirements | ||
------------ | ||
|
||
- [openshift-restclient-python](https://github.com/openshift/openshift-restclient-python) | ||
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) | ||
|
||
Role Variables | ||
-------------- | ||
|
||
See [defaults/main.yaml](defaults/main.yaml). | ||
|
||
Example Playbook | ||
---------------- | ||
|
||
See [playbooks/provision.yml](playbooks/provision.yml). | ||
|
||
License | ||
------- | ||
|
||
Apache-2.0 | ||
|
||
Author Information | ||
------------------ | ||
|
||
http://automationbroker.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
|
||
# Defaults for values we could expect from a broker | ||
_apb_plan_id: default | ||
_apb_service_class_id: 0 | ||
_apb_service_instance_id: 0 | ||
|
||
app_name: "mediawiki-{{ _apb_service_instance_id }}" | ||
app_image: docker.io/ansibleplaybookbundle/mediawiki:latest | ||
namespace: "{{ lookup('env','NAMESPACE') | default('mediawiki', true) }}" | ||
|
||
# Mediawiki defaults | ||
mediawiki_db_schema: mediawiki | ||
mediawiki_site_name: MediaWiki | ||
mediawiki_site_lang: en | ||
mediawiki_admin_user: admin | ||
mediawiki_admin_pass: changeme | ||
mediawiki_volume_size: "1Gi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
galaxy_info: | ||
author: Automation Broker Team | ||
description: Deploys mediawiki in OpenShift/Kubernetes | ||
company: Red Hat | ||
license: Apache 2.0 | ||
min_ansible_version: 1.5 | ||
|
||
# | ||
# platforms is a list of platforms, and each platform has a name and a list of versions. | ||
# | ||
platforms: | ||
- name: Centos | ||
|
||
galaxy_tags: | ||
- apb | ||
|
||
dependencies: [] | ||
# List your role dependencies here, one per line. Be sure to remove the '[]' above, | ||
# if you add dependencies to this list. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.