summaryrefslogtreecommitdiff
path: root/playbooks/common
AgeCommit message (Collapse)Author
2017-09-14Merge pull request #5360 from sdodson/embedded-etcdScott Dodson
Clarify requirement of having etcd group
2017-09-14Merge pull request #5396 from abutcher/etcd-migrate-openshift-ipScott Dodson
Use openshift.common.ip rather than ansible_default_ipv4 in etcd migration playbook.
2017-09-14Merge pull request #5367 from abutcher/etcd-scaleup-master-client-urlsScott Dodson
Bug 1490304: Etcd scale-up playbook should add new member to etcdClientInfo of master-config.yaml
2017-09-14Merge pull request #5389 from tremble/storage_migrationScott Dodson
Don't assume storage_migration control variables are already boolean
2017-09-13Use openshift.common.ip rather than ansible_default_ipv4 in etcd migration ↵Andrew Butcher
playbook.
2017-09-13Merge pull request #5386 from ashcrow/fix-wording-in-upgrade-noticeOpenShift Bot
Merged by openshift-bot
2017-09-13pull openshift_master deps out into a playJan Chaloupka
2017-09-13Don't assume storage_migration control variables are already booleanMark Chappell
openshift_upgrade_pre_storage_migration_enabled openshift_upgrade_pre_storage_migration_fatal openshift_upgrade_post_storage_migration_enabled openshift_upgrade_post_storage_migration_enabled because the 4 variables are not already defaulted/evaluated there's no guarantee that they're actually the boolean type at this point. Example: if they're passed in on the command line
2017-09-12upgrade: Updates warning on missing required variablesSteve Milner
Signed-off-by: Steve Milner <smilner@redhat.com>
2017-09-12Update master config with new client urls during etcd scaleup.Andrew Butcher
2017-09-12Only install base openshift package on masters and nodesMichael Gugino
Recent refactoring to remove openshift_common resulted in base openshift rpm's being installed on more hosts than previous. This situation results in hosts that would otherwise not need access to openshift repositories to require them. This patch set results in only openshift_masters and openshift_nodes to have the openshift base package installed.
2017-09-12double the required disk space for etcd backupJan Chaloupka
2017-09-12Merge pull request #5353 from mgugino-upstream-stage/public_hostname_checkScott Dodson
Add openshift_public_hostname length check
2017-09-11Merge pull request #5340 from sdodson/bz1489913Scott Dodson
Revert back to hostnamectl and previous default of not setting hostname
2017-09-11Merge pull request #5344 from mgugino-upstream-stage/fix-pkg-versionsOpenShift Bot
Merged by openshift-bot
2017-09-11Merge pull request #5256 from ashcrow/1451023Scott Dodson
upgrade: Verify required network items are set
2017-09-11Clarify requirement of having etcd groupScott Dodson
2017-09-11Merge pull request #5342 from mtnbikenc/fix-include-through-symlinkScott Dodson
Correct include path to not follow symlink
2017-09-11Merge pull request #5332 from kwoodson/amibuild_node_configOpenShift Bot
Merged by openshift-bot
2017-09-11add health checks 3_6,3_7 upgrade pathjuanvallejo
2017-09-11Add openshift_public_hostname length checkMichael Gugino
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
2017-09-08Fix rpm version logic for hostsMichael Gugino
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
2017-09-08Revert back to hostnamectl and previous default of not setting hostnameScott Dodson
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
2017-09-08Correct include path to not follow symlinkRussell Teague
2017-09-08Fix include path for docker upgrade tasksRussell Teague
2017-09-08upgrade: Verify required network items are setSteve Milner
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
2017-09-07ami build process calls openshift-node/config.ymlKenny Woodson
2017-09-07Merge pull request #5211 from kwoodson/provisioning_fixesScott Dodson
Provisioning updates.
2017-09-07Consolidating AWS roles and variables underneath openshift_aws role.Kenny Woodson
2017-09-07Merge pull request #5305 from mtnbikenc/breakout-master-additionalOpenShift Bot
Merged by openshift-bot
2017-09-07Merge pull request #5208 from mgugino-upstream-stage/remove-openshift_commonOpenShift Bot
Merged by openshift-bot
2017-09-06Remove openshift-commonMichael Gugino
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.
2017-09-06Create ansible role for deploying prometheus on openshiftZohar Galor
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
2017-09-05Move master additional config out of baseRussell Teague
2017-09-01Standardize etcd entry point playbooksRussell Teague
2017-09-01Break out master config into stand-alone playbookRussell Teague
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.
2017-09-01Merge pull request #5282 from mtnbikenc/breakout-node-configOpenShift Bot
Merged by openshift-bot
2017-09-01Merge pull request #5283 from mtnbikenc/move-aio-failOpenShift Bot
Merged by openshift-bot
2017-08-31Merge pull request #5259 from mtnbikenc/fix-upgrade-auth-checkRussell Teague
[BZ1486450] Only run migrate auth for < 3.7
2017-08-31Move all-in-one fail check to evaluate_groups.ymlRussell Teague
2017-08-31Break out node config into stand-alone playbookRussell Teague
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.
2017-08-30Merge pull request #5247 from mgugino-upstream-stage/fix-master-upgradesOpenShift Bot
Merged by openshift-bot
2017-08-30Merge pull request #5188 from mtnbikenc/test-common-entryRussell Teague
Test: Fail on entry point playbooks in common
2017-08-30Merge pull request #5230 from kwoodson/openshift_node_bootstrapOpenShift Bot
Merged by openshift-bot
2017-08-30Merge pull request #5252 from mtnbikenc/fix-group-conditionalOpenShift Bot
Merged by openshift-bot
2017-08-30Merge pull request #5257 from mtnbikenc/fix-scaleupScott Dodson
Move firewall install and fix scaleup playbooks
2017-08-30Merge pull request #5229 from sdodson/fix-containerized-etcdv3-migrationScott Dodson
Fix scaleup on containerized installations
2017-08-29Only run migrate auth for < 3.7Russell Teague
2017-08-29Fix openshift_master upgradeMichael Gugino
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.
2017-08-29Move firewall install and fix scaleup playbooksRussell Teague