summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* Add support for configuring oauth templates.Devan Goodwin2016-04-013-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow users who wish to deploy configs with ansible to define templates for oauth screens, and control the alwaysShowProviderSelection setting. There are currently three supported oauth templates, and we have a pre-existing 'oauth_template' variable, but it is assumed to mean you are controlling the 'login' screen, and this is the only one you can configure. To work around this, supporting all current and future templates, introduce a pluralized variable 'oauth_templates', which contains a JSON dict allowing the admin to control any template they wish. If both new and old variables are defined, the old one is ignored. (and can be considered deprecated) Internally the old value will be converted to the new dict, so the template just references one value. Example: openshift_master_oauth_always_show_provider_selection=true openshift_master_oauth_templates={"providerSelection": "provider-selection.html", "error": "oauth-error.html"} Yeilds: oauthConfig: alwaysShowProviderSelection: true templates: error: oauth-error.html providerSelection: provider-selection.html
* Add support for templating master admissionConfig.Devan Goodwin2016-04-013-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds four new inventory variables for setting sections in "admissionConfig" and "kubernetesMasterConfig.admissionConfig". openshift_master_admission_plugin_order allows configuring the list of origin admission controller plugins to enable and what order to run them in. This must be a JSON formatted list of strings: openshift_master_admission_plugin_order=["RunOnceDuration", "NamespaceLifecycle", "OriginPodNodeEnvironment", "ClusterResourceOverride", "LimitRanger", "ServiceAccount", "SecurityContextConstraint", "ResourceQuota", "SCCExecRestrictions"] openshift_master_kube_admission_plugin_order is identical but for the kubernetes admission controller plugins which appear beneath kubernetesMasterConfig. openshift_master_admission_plugin_config allows setting free-form configuration stanzas that match up with enabled admission controller plugins. This must be a JSON formatted hash: openshift_master_admission_plugin_config={"RunOnceDuration":{"configuration":{"apiVersion":"v1","kind":"RunOnceDurationConfig","activeDeadlineSecondsOverride":3600}},"ClusterResourceOverride":{"configuration":{"apiVersion":"v1","kind":"ClusterResourceOverrideConfig","limitCPUToMemoryPercent":200,"cpuRequestToLimitPercent":6,"memoryRequestToLimitPercent":60}}} openshift_master_kube_admission_plugin_config is the equivalent for kubernetes admission controller plugins. Contains a change to merge_facts to fix issues with modifying inventory variables that contain JSON dicts. If you modified a previously set variable, the result would be a merge of old and new, which is completely wrong in this case. Addded new overwrite_facts to shortcut to just taking the new values. This differs from the pre-existing concept of "protected" in that we're not protecting an old value, we're trashing it and taking the new.
* Allow for overriding scheduler configJason DeTiberus2016-03-315-18/+26
| | | | | | | | | - introduce openshift_master_scheduler_predicates and openshift_master_scheduler_priorities to override the default scheduler predicates and priorities - switch default scheduler priorities to use SelectorSpreadPriority instead of ServiceSpreadingPriority
* Bug 1320829 - Ensure docker installed for factsJason DeTiberus2016-03-3112-82/+170
| | | | | | - gather facts requiring docker only if docker is present and running - Update reference to etcd role in playbooks/common/openshift-etcd/config.yml to use openshift_etcd
* Merge pull request #1634 from abutcher/aws-cloud-providerBrenton Leanhardt2016-03-3116-71/+223
|\ | | | | AWS cloud provider
| * Add AWS cloud provider support.Andrew Butcher2016-03-2916-71/+223
| |
* | Merge pull request #1684 from brenton/bz1322335Brenton Leanhardt2016-03-311-1/+5
|\ \ | | | | | | Bug 1322335 - The package name is wrong for rpm upgrade
| * | Bug 1322335 - The package name is wrong for rpm upgradeBrenton Leanhardt2016-03-301-1/+5
| |/
* | Fixed generate header.Kenny Woodson2016-03-315-5/+5
| |
* | Merge pull request #1679 from kwoodson/apirefactorKenny Woodson2016-03-3026-254/+1956
|\ \ | |/ |/| Refactor of openshiftcli to be more generic.
| * Moving generation of ansible module side by side with module.Kenny Woodson2016-03-3026-254/+1956
| |
* | The systemd unit for atomic-openshift-master wasn't not being createdBrenton Leanhardt2016-03-291-6/+16
| |
* | Use openshift.master.ha instead of duplicating the logicBrenton Leanhardt2016-03-292-7/+7
| |
* | Workaround for authenticated registriesBrenton Leanhardt2016-03-291-0/+21
| | | | | | | | | | | | | | | | | | | | Currently there's no good way to install from a registry that requires authentication. This applies both to RPM and containerized installs: https://bugzilla.redhat.com/show_bug.cgi?id=1316341 The workaround is to 'docker login' as root and then have ansible pull the images to the image cache.
* | First pass at systemd unit refactorBrenton Leanhardt2016-03-296-96/+104
| |
* | Merge pull request #1671 from sjenning/systemd-unit-fixesBrenton Leanhardt2016-03-296-6/+6
|\ \ | | | | | | make docker service want ose containerized services
| * | make docker service want ose containerized servicesSeth Jennings2016-03-286-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are points where the docker service is restarted during the install. Sometimes the services that are PartOf docker.service do not get restarted when docker is restarted. https://bugzilla.redhat.com/show_bug.cgi?id=1318948 Systemd documentation recommends using "wants" as the perferred means of creating startup linkages between units. This patch makes the ose services wanted by the docker service rather than multi-user.target. This creates a downward link from the docker service to the ose containerized services.
* | | fix the key name for the dynamic item of avalablezhizhang2016-03-291-2/+2
| | |
* | | Merge pull request #1665 from sdodson/bz1320335Brenton Leanhardt2016-03-2836-218/+422
|\ \ \ | |_|/ |/| | Sync latest db-templates and qucikstart-templates
| * | Sync latest db-templates and qucikstart-templatesScott Dodson2016-03-2436-218/+422
| | |
* | | Merge pull request #1638 from JayKayy/loggingBrenton Leanhardt2016-03-287-0/+197
|\ \ \ | |_|/ |/| | Adding openshift_efk role
| * | added admin binary varibale usage as well as specifying kubeconfig copy to ↵John Kwiatkoski2016-03-252-33/+29
| | | | | | | | | | | | be used
| * | Tested of refactored codeJohn Kwiatkoski2016-03-236-75/+60
| | |
| * | revised and restructured logging roleJohn Kwiatkoski2016-03-228-113/+135
| | |
| * | Adding openshift_efk roleJohn Kwiatkoski2016-03-183-0/+194
| | |
* | | Fixed error message to add valid yamlKenny Woodson2016-03-281-1/+1
| | |
* | | Merge pull request #1649 from BlueShells/pv_workZhiMing Zhang2016-03-281-0/+35
|\ \ \ | | | | | | | | add dynamic pv count
| * | | fix some typoZhiming Zhang2016-03-221-1/+1
| | | |
| * | | add the total and available space itemZhiming Zhang2016-03-221-0/+12
| | | |
| * | | add dynamic pv countZhiming Zhang2016-03-221-0/+23
| | | |
* | | | Merge pull request #1664 from kwoodson/api_dcKenny Woodson2016-03-243-68/+490
|\ \ \ \ | | | | | | | | | | Deployment config module
| * | | | Adding deployment config and refactored.Kenny Woodson2016-03-243-68/+490
| | | | |
* | | | | Merge pull request #1575 from enoodle/manageiq_sa_to_have_image_puller_roleBrenton Leanhardt2016-03-242-1/+20
|\ \ \ \ \ | |/ / / / |/| | | | ManageIQ SA: Adding image-puller role
| * | | | ManageIQ SA: Adding image-puller roleErez Freiberger2016-03-242-1/+20
| |/ / /
* | | | Merge pull request #1642 from wshearn/fix_serviceaccountsBrenton Leanhardt2016-03-231-1/+2
|\ \ \ \ | | | | | | | | | | Add namespace flag to oc create
| * | | | Fix indentionWesley Hearn2016-03-221-2/+2
| | | | |
| * | | | Fix line breakWesley Hearn2016-03-221-2/+2
| | | | |
| * | | | Add namespace flag to oc createWesley Hearn2016-03-211-1/+2
| |/ / /
* | | | Merge pull request #1651 from kwoodson/libcliKenny Woodson2016-03-232-199/+563
|\ \ \ \ | |_|_|/ |/| | | Latest updates to lib api.
| * | | Latest cli updates from generated filesKenny Woodson2016-03-232-199/+563
| | | |
* | | | Merge pull request #1648 from sdodson/bz1313210Brenton Leanhardt2016-03-231-1/+1
|\ \ \ \ | |/ / / |/| | | Add /dev to node containers
| * | | Add /dev to node containersScott Dodson2016-03-221-1/+1
| |/ /
* / / Support setting local storage perFSGroup quota in node config.Devan Goodwin2016-03-223-0/+5
|/ / | | | | | | | | Adds a new inventory var "openshift_node_local_quota_per_fsgroup", which will set the perFSGroup quota node-config.yaml.
* / Yaml editor first attemptKenny Woodson2016-03-181-0/+220
|/
* Merge pull request #1614 from detiber/bz1317755Brenton Leanhardt2016-03-175-8/+19
|\ | | | | Bug 1317755 - Set insecure-registry for internal registry by default
| * Bug 1317755 - Set insecure-registry for internal registry by defaultJason DeTiberus2016-03-175-8/+19
| |
* | Merge pull request #1628 from abutcher/deployment-typeKenny Woodson2016-03-161-1/+2
|\ \ | | | | | | Add default deployment_type to openshift_facts.
| * | Fall back to deployment_type in openshift_facts.Andrew Butcher2016-03-161-1/+2
| | |
* | | Merge pull request #1629 from kwoodson/docker_fixKenny Woodson2016-03-161-4/+4
|\ \ \ | | | | | | | | Fix for docker role when variables are undefined.
| * | | Fixing undefined variable checkKenny Woodson2016-03-161-4/+4
| | | |