summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5325 from DenverJ/patch-1Scott Dodson2017-09-121-2/+2
|\ | | | | Fix new_master or new_node fail check during scaleup
| * Fix new_master or new_node fail checkDenver Janke2017-09-071-2/+2
| |
* | Merge pull request #5353 from mgugino-upstream-stage/public_hostname_checkScott Dodson2017-09-121-0/+4
|\ \ | | | | | | Add openshift_public_hostname length check
| * | Add openshift_public_hostname length checkMichael Gugino2017-09-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the variable openshift_hostname is checked to ensure it is less than 63 characters. The variable openshift_public_hostname should also be checked for this length. This commit checks the length of openshift_public_hostname to ensure it is 63 characters or less. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1467790
* | | Merge pull request #5340 from sdodson/bz1489913Scott Dodson2017-09-111-3/+4
|\ \ \ | | | | | | | | Revert back to hostnamectl and previous default of not setting hostname
| * | | Revert back to hostnamectl and previous default of not setting hostnameScott Dodson2017-09-081-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old default was "{{ not openshift.common.version_gte_3_1_or_1_1 }}" just default to false instead, master branch will never be used with 3.0 hostname module doesn't work on atomic host Fixes BZ 1489913
* | | | Merge pull request #5344 from mgugino-upstream-stage/fix-pkg-versionsOpenShift Bot2017-09-111-0/+5
|\ \ \ \ | | | | | | | | | | Merged by openshift-bot
| * | | | Fix rpm version logic for hostsMichael Gugino2017-09-081-0/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the variable openshift_pkg_version is defined by the first master unless specified by the user. The role openshift_version attempts to set this value on all other hosts after setting it on the first master. During normal installation, openshift_pkg_version is not initially defined, therefor each host will utilize the most recent rpm available. This creates a problem during later operations of a cluster if a node is added or replaced by a new node. This commit ensures that the value for openshift_pkg_version set by the first master is respected by subsequent hosts. Fixes: #5341
* | | | Merge pull request #5256 from ashcrow/1451023Scott Dodson2017-09-111-0/+15
|\ \ \ \ | | | | | | | | | | upgrade: Verify required network items are set
| * | | | upgrade: Verify required network items are setSteve Milner2017-09-081-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When upgrading osm_cluster_network_cidr, osm_host_subnet_length, and openshift_portal_net must be set to avoid SDN initialization errors. This was found when the default parameters were changed between Openshift versions. This meant users who upgraded and did not specify either mentioned variable at install/upgrade time ended up getting SDN errors post upgrade. When osm_cluster_network_cidr, osm_host_subnet_length, and openshift_portal_net are not set the upgrade will fail telling the user that the variables must be set and how to find the current values in the current install. References: https://github.com/openshift/openshift-ansible/commit/b50b4ea0b03feb9431abd7294fe4fb6b549ddfc0 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1451023
* | | | | Merge pull request #5342 from mtnbikenc/fix-include-through-symlinkScott Dodson2017-09-111-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Correct include path to not follow symlink
| * | | | | Correct include path to not follow symlinkRussell Teague2017-09-081-1/+1
| | |/ / / | |/| | |
* | | | | Merge pull request #5332 from kwoodson/amibuild_node_configOpenShift Bot2017-09-114-9/+12
|\ \ \ \ \ | |_|_|/ / |/| | | | Merged by openshift-bot
| * | | | ami build process calls openshift-node/config.ymlKenny Woodson2017-09-074-9/+12
| |/ / /
* / / / Fix include path for docker upgrade tasksRussell Teague2017-09-081-2/+4
|/ / /
* | | Merge pull request #5211 from kwoodson/provisioning_fixesScott Dodson2017-09-0711-570/+279
|\ \ \ | |/ / |/| | Provisioning updates.
| * | Consolidating AWS roles and variables underneath openshift_aws role.Kenny Woodson2017-09-0711-634/+273
| | |
| * | Fixing variables and allowing custom ami.Kenny Woodson2017-09-076-42/+112
| | |
* | | Merge pull request #5305 from mtnbikenc/breakout-master-additionalOpenShift Bot2017-09-073-3/+8
|\ \ \ | |/ / |/| | Merged by openshift-bot
| * | Move master additional config out of baseRussell Teague2017-09-053-3/+8
| | |
* | | Merge pull request #5208 from mgugino-upstream-stage/remove-openshift_commonOpenShift Bot2017-09-0719-38/+71
|\ \ \ | |_|/ |/| | Merged by openshift-bot
| * | Remove openshift-commonMichael Gugino2017-09-0619-38/+71
| |/ | | | | | | | | | | | | | | | | Most of this role's purpose was to set facts. The vast majority of these facts were simply redefining user-supplied variables. This commit also removes various artifacts leftover from previous versions, as well as variables that seem to be entirely unused.
* / Create ansible role for deploying prometheus on openshiftZohar Galor2017-09-063-0/+16
|/ | | | | | | | | | | | | | A new role for installing prometheus on openshift. Depends on `openshift_hosted_prometheus_deploy` flag role creates: - prometheus namespace - prometheus clusterrolebinding and service account - pvs for prometheus, alertmanager and alertbuffer for internal nfs - prometheus pod with prometheus behind oauth-proxy, alertmanager and alert-buffer behind oauth-proxy - prometheus and alertmanager configmaps - prometheus and alerts services and direct routes - prometheus, alertmanager and alert-buffer pvcs
* Standardize etcd entry point playbooksRussell Teague2017-09-016-40/+4
|
* Break out master config into stand-alone playbookRussell Teague2017-09-015-10/+9
| | | | | | | | | Added byo/openshift-master/config.yml as a new entry point for performing master installation. Excluder disable/enable for master has been moved to common/openshift-master/config.yml to follow a standard pattern that could be used for both installation and scaleup playbooks.
* Merge pull request #5282 from mtnbikenc/breakout-node-configOpenShift Bot2017-09-018-72/+39
|\ | | | | Merged by openshift-bot
| * Break out node config into stand-alone playbookRussell Teague2017-08-318-72/+39
| | | | | | | | | | | | | | | | | | | | Added byo/openshift-node/config.yml as a new entry point for performing node installation. This playbook must be run after masters have already been deployed. Excluder disable/enable for both nodes and masters has been moved their respective config.yml. This created a common pattern that could be used for both installation and scaleup playbooks.
* | Merge pull request #5283 from mtnbikenc/move-aio-failOpenShift Bot2017-09-012-7/+10
|\ \ | | | | | | Merged by openshift-bot
| * | Move all-in-one fail check to evaluate_groups.ymlRussell Teague2017-08-312-7/+10
| |/
* | Merge pull request #5259 from mtnbikenc/fix-upgrade-auth-checkRussell Teague2017-08-311-0/+1
|\ \ | |/ |/| [BZ1486450] Only run migrate auth for < 3.7
| * Only run migrate auth for < 3.7Russell Teague2017-08-291-0/+1
| |
* | Merge pull request #5247 from mgugino-upstream-stage/fix-master-upgradesOpenShift Bot2017-08-301-4/+1
|\ \ | | | | | | Merged by openshift-bot
| * | Fix openshift_master upgradeMichael Gugino2017-08-291-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | Currently, openshift_master upgrade play imports tasks directly from the openshift_master role. This method does not honor role defaults. This commit changes sets openshift_master_config_dir if undefined.
* | | Merge pull request #5188 from mtnbikenc/test-common-entryRussell Teague2017-08-3021-35/+17
|\ \ \ | | | | | | | | Test: Fail on entry point playbooks in common
| * | | Test: Fail on entry point playbooks in commonRussell Teague2017-08-2921-35/+17
| | |/ | |/|
* | | Merge pull request #5230 from kwoodson/openshift_node_bootstrapOpenShift Bot2017-08-305-68/+76
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Merging openshift_node with openshift bootstrap.Kenny Woodson2017-08-295-68/+76
| | |/ | |/|
* | | Merge pull request #5252 from mtnbikenc/fix-group-conditionalOpenShift Bot2017-08-301-2/+2
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Fix group conditional requirementsRussell Teague2017-08-291-2/+2
| | |/ | |/|
* | | Merge pull request #5257 from mtnbikenc/fix-scaleupScott Dodson2017-08-3011-56/+11
|\ \ \ | | | | | | | | Move firewall install and fix scaleup playbooks
| * | | Move firewall install and fix scaleup playbooksRussell Teague2017-08-2911-56/+11
| |/ /
* | | Merge pull request #5229 from sdodson/fix-containerized-etcdv3-migrationScott Dodson2017-08-301-2/+4
|\ \ \ | |/ / |/| | Fix scaleup on containerized installations
| * | Fix scaleup on containerized installationsScott Dodson2017-08-251-2/+4
| | | | | | | | | | | | | | | | | | The output from member add had quotes added that caused etcd to fail. Also there were some places that needed to have retries added because containerized start/stop/restart are slower than rpm based installs.
* | | Merge pull request #5201 from mtnbikenc/remove-unsupportedRussell Teague2017-08-2969-2847/+3
|\ \ \ | |_|/ |/| | Remove unsupported playbooks and utilities
| * | Remove unsupported playbooks and utilitiesRussell Teague2017-08-2569-2847/+3
| |/
* | Merge pull request #4570 from rhcarvalho/adhoc-check-runner-miscScott Dodson2017-08-283-5/+82
|\ \ | | | | | | Add playbook to run adhoc health checks or list existing checks
| * | List existing health checks when none is requestedRodolfo Carvalho2017-08-242-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | 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-243-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Update health check READMERodolfo Carvalho2017-08-241-5/+4
| |/
* | Merge pull request #5179 from mtnbikenc/openshift_provisionersOpenShift Bot2017-08-281-0/+6
|\ \ | | | | | | Merged by openshift-bot