summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* Add independent registry auth supportMichael Gugino2017-08-284-0/+41
| | | | | | | | | | | | | | | | | Added the ability to support authentication for independent / 3rd party registries. This commit will allow users to provide a `oreg_auth_user` and `oreg_auth_password` to dynmically generate a docker config.json file. The docker config.json file can be used by openshift to authenticate to independent / 3rd party registries. `oreg_host` must supply endpoint connection info in the form of 'hostname.com:port', with (optional) port 443 default. To update the config.json on a later run, the user can specify `oreg_auth_credentials_replace=False` to update the credentials. These settings must be used in tandem with `oreg_url` Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1316341
* Merge pull request #4570 from rhcarvalho/adhoc-check-runner-miscScott Dodson2017-08-285-170/+364
|\ | | | | Add playbook to run adhoc health checks or list existing checks
| * Update error message: s/non-unique/duplicateRodolfo Carvalho2017-08-242-6/+4
| |
| * Make pylint disables more specificRodolfo Carvalho2017-08-241-15/+26
| | | | | | | | And beautify the code a bit.
| * Handle exceptions in failure summary cb pluginRodolfo Carvalho2017-08-241-2/+11
| | | | | | | | | | | | | | | | | | | | | | This serves two purposes: - Gracefully omit the summary if there was an error computing it, no confusion to the regular end user. - Provide a stacktrace of the error when running verbose, giving developers or users reporting bugs a better insight of what went wrong, as opposed to Ansible's opaque handling of errors in callback plugins.
| * Rewrite failure summary callback pluginRodolfo Carvalho2017-08-243-119/+243
| | | | | | | | | | The intent is to deduplicate similar errors that happened in many hosts, making the summary more concise.
| * Handle more exceptions when running checksRodolfo Carvalho2017-08-241-19/+30
| | | | | | | | | | | | | | | | | | This prevents an exception in one check from interfering with other checks. Skips checks that raise an exception in their is_active method. Whenever capturing a broad exception in the `is_action` or `run` methods, include traceback information that can be useful in bug reports.
| * List known checks/tags when check name is invalidRodolfo Carvalho2017-08-242-16/+22
| |
| * List existing health checks when none is requestedRodolfo Carvalho2017-08-242-8/+43
| | | | | | | | | | | | | | | | This is a simple mechanism to learn what health checks are available. Note that we defer task_vars verification, so that we can compute requested_checks and resolved_checks earlier, allowing us to list checks even if openshift_facts has not run.
| * Add playbook for running arbitrary health checksRodolfo Carvalho2017-08-241-1/+1
| | | | | | | | | | | | | | | | This is useful on its own, and also aids in developing/testing new checks that are not part of any playbook. Since the intent when running this playbook is to execute checks, opt for a less verbose explanation on the error summary.
* | Merge pull request #5231 from kwoodson/removing_dep_warnRussell Teague2017-08-282-2/+2
|\ \ | | | | | | Removing deprecation warnings for when conditions.
| * | Removing deprecation warnings for when conditions.Kenny Woodson2017-08-252-2/+2
| | |
* | | Merge pull request #5227 from kwoodson/firewall_defaults_fixOpenShift Bot2017-08-2610-21/+21
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Default to global setting for firewall.Kenny Woodson2017-08-2510-21/+21
| |/ /
* | | Merge pull request #5186 from mgugino-upstream-stage/flatten-cliOpenShift Bot2017-08-263-22/+1
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Remove near-meta role openshift_cli_factsMichael Gugino2017-08-253-22/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openshift_cli_facts only runs a single task, and otherwise the only existence is to serve as a link in the dependency chain towards openshift_facts. This commit flattens openshift_cli into one role.
* | | | Merge pull request #5044 from wozniakjan/logging_role_based_image_versionsOpenShift Bot2017-08-2512-28/+30
|\ \ \ \ | |_|/ / |/| | | Merged by openshift-bot
| * | | Bug 1471322: logging roles based image versionsJan Wozniak2017-08-1812-28/+30
| | | | | | | | | | | | | | | | | | | | | | | | Allowing to specify an image version for each logging component https://bugzilla.redhat.com/show_bug.cgi?id=1471322
* | | | Merge pull request #5178 from sdodson/fix-registry-certScott Dodson2017-08-251-0/+3
|\ \ \ \ | | | | | | | | | | Add missing hostnames to registry cert
| * | | | Add missing hostnames to registry certScott Dodson2017-08-231-0/+3
| | | | |
* | | | | Merge pull request #5200 from ashcrow/new-pre-release-image-tag-validationScott Dodson2017-08-251-2/+5
|\ \ \ \ \ | | | | | | | | | | | | openshift_version: enterprise accepts new style pre-release
| * | | | | openshift_version: enterprise accepts new style pre-releaseSteve Milner2017-08-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example: v3.7.0-0.104.0 Resolves 5192 Fixes: https://github.com/openshift/openshift-ansible/issues/5192
* | | | | | Merge pull request #4991 from rparulek/nuage-atomic-ansibleScott Dodson2017-08-2511-118/+450
|\ \ \ \ \ \ | | | | | | | | | | | | | | Nuage changes for Atomic hosts OSE Integration
| * | | | | | Nuage changes for Atomic hosts OSE IntegrationRohan Parulekar2017-08-2411-118/+450
| |/ / / / /
* | | | | | Merge pull request #5212 from jcantrill/fix_5206_cpu_defaultsScott Dodson2017-08-251-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix #5206. Default ES cpu limit
| * | | | | | fix #5206. Default ES cpu limitJeff Cantrill2017-08-251-2/+2
| | | | | | |
* | | | | | | Merge pull request #5089 from jmencak/tuned-setupScott Dodson2017-08-252-14/+45
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Setup tuned profiles in /etc/tuned
| * | | | | | | Setup tuned profiles in /etc/tunedJiri Mencak2017-08-152-14/+45
| | | | | | | |
* | | | | | | | Merge pull request #4957 from simaishi/cfme_581_updateScott Dodson2017-08-242-6/+32
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | Update cfme templates to auto-generate postgresql password
| * | | | | | | Update cfme templates to auto-generate postgresql passwordSatoe Imaishi2017-07-312-6/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1461973
* | | | | | | | Merge pull request #5082 from jarrpa/glusterfs-readme-noteScott Dodson2017-08-241-1/+1
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | GlusterFS: add minor README note for #5071
| * | | | | | | GlusterFS: add minor README note for #5071Jose A. Rivera2017-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #5071 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* | | | | | | | Merge pull request #5054 from jmencak/tuned-profilesScott Dodson2017-08-244-0/+67
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | New tuned profile hierarchy.
| * | | | | | | New tuned profile hierarchy.Jiri Mencak2017-08-154-0/+67
| | | | | | | |
* | | | | | | | Merge pull request #5161 from sdodson/image-stream-syncScott Dodson2017-08-2459-199/+1337
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Sync latest image stream and templates
| * | | | | | | | Add dotnet 2.0 to v3.6Scott Dodson2017-08-224-0/+450
| | | | | | | | |
| * | | | | | | | Add dotnet 2.0 to v3.7Scott Dodson2017-08-228-20/+555
| | | | | | | | |
| * | | | | | | | Update v3.6 contentScott Dodson2017-08-2223-89/+166
| | | | | | | | |
| * | | | | | | | Update all image streams and templatesScott Dodson2017-08-2224-90/+166
| | | | | | | | |
* | | | | | | | | Merge pull request #5158 from ewolinetz/logging_issue605Scott Dodson2017-08-241-0/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Passing memory and cpu limit for ops ES install
| * | | | | | | | | Passing memory and cpu limit for ops ES installEric Wolinetz2017-08-221-0/+4
| |/ / / / / / / /
* | | | | | | | | Merge pull request #5145 from sdodson/bz1480438Scott Dodson2017-08-231-31/+34
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | If IP4_NAMESERVERS are unset then pull the value from /etc/resolv.conf
| * | | | | | | | | If IP4_NAMESERVERS are unset then pull the value from /etc/resolv.confScott Dodson2017-08-211-31/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will happen whenever someone has directly modified /etc/resolv.conf Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1480438
* | | | | | | | | | Merge pull request #5100 from mgugino-upstream-stage/check-hostname-lenScott Dodson2017-08-232-3/+5
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | Add hostname/nodename length check
| * | | | | | | | | Add hostname/nodename length checkMichael Gugino2017-08-162-3/+5
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenShift will not allow nodes to register if the nodename is > 63 chars. This commit verifies that nodename is not set to a potential hostname that is greater than 63 characters. This commit also updates logic to check `openshift_hostname` to check for > 63 chars. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1467790
* | | | | | | | | Fix generated contentScott Dodson2017-08-231-5/+4
| | | | | | | | |
* | | | | | | | | Merge pull request #5011 from kwoodson/provisionScott Dodson2017-08-2338-59/+1724
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | AWS Provisioning with scale groups.
| * | | | | | | | | First attempt at provisioning.Kenny Woodson2017-08-2138-59/+1724
| | |/ / / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #5112 from kwoodson/oc_adm_csrScott Dodson2017-08-236-0/+2001
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | | Adding oc_adm_csr to lib_openshift for node approvals
| * | | | | | | | First attempt at creating the cert signer.Kenny Woodson2017-08-216-0/+2001
| | | | | | | | |