summaryrefslogtreecommitdiffstats
path: root/playbooks/common
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-05-309-199/+46
|\
| * Separate master and haproxy config playbooks.Andrew Butcher2016-05-267-27/+30
| | | | | | | | | | | | * Move haproxy configuration to a separate openshift-loadbalancer play. * Move the haproxy role to openshift_loadbalancer. * Add openshift_loadbalancer* facts which drive haproxy configuration.
| * Merge pull request #1908 from abutcher/openshift-certificatesJason DeTiberus2016-05-262-157/+14
| |\ | | | | | | Refactor openshift certificate roles
| | * Consolidate ca/master/node certificates roles into openshift_certificates.Andrew Butcher2016-05-192-157/+14
| | |
| * | Merge pull request #1773 from detiber/aws_cleanupJason DeTiberus2016-05-251-0/+2
| |\ \ | | | | | | | | Cloud provider cleanup
| | * | Call evaluate_groups from update_repos_and_packagesJason DeTiberus2016-05-051-0/+2
| | | |
* | | | Refactor openshift_version behavior.Devan Goodwin2016-05-303-78/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Very early in playbooks we must init the openshift_version for each host. First we determine it for the master, logic now is pushed into the openshift_docker role which we run only on first master via openshift_cli. Facts are reloaded leaving us with a first master with openshift.common.version fact we can then re-use on all other hosts. The correct version of docker should be installed as well. We then set openshift_version for all other hosts by re-using the master fact.
* | | | Protect installed version on subsequent masters.Devan Goodwin2016-05-301-2/+22
| | | |
* | | | Get rpm installations functional again.Devan Goodwin2016-05-262-4/+12
| | | |
* | | | Preserve node versions on re-run.Devan Goodwin2016-05-252-5/+17
| | | |
* | | | Hookup node configuration.Devan Goodwin2016-05-252-7/+10
| | | |
* | | | Complete installation of first master containerized.Devan Goodwin2016-05-251-1/+2
| | | |
* | | | Stop downgrading Docker because we don't know what version to install yet.Devan Goodwin2016-05-251-1/+1
| | | |
* | | | Work towards determining openshift_version when unspecified.Devan Goodwin2016-05-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | openshift_docker role was largely useless now, but also almost did what we needed. (deps ordering still needs to be changed) Remove defaulting of openshift_version.
* | | | Set openshift_version in config playbooks for first master.Devan Goodwin2016-05-251-3/+69
|/ / / | | | | | | | | | | | | | | | | | | Starting to remove openshift.docker.openshift_version fact usage. openshift_version should no longer contain a leading 'v' for containerized installs, just a version number.
* | / Conditionally bind mount /usr/bin/docker-current when it is present (#1941)Scott Dodson2016-05-242-2/+2
| |/ |/| | | | | | | | | | | | | | | | | * Conditionally bind mount /usr/bin/docker-current when it is present * fix upgrade * add atomic-openshift-node-dep files to uninstall playbook * Fix variable expansion
* | Merge pull request #1914 from jkroepke/patch-1Jason DeTiberus2016-05-181-2/+2
|\ \ | | | | | | Task "Update router image to current version" failed, if router not in default namespace
| * | Task "Update router image to current version" failed, if router not in ↵Jan-Otto Kröpke2016-05-181-2/+2
| | | | | | | | | | | | | | | default namespace Also added hardcoded -n default to registry patch, since oc get has -n default, too.
* | | Merge pull request #1918 from dgoodwin/docker-restartJason DeTiberus2016-05-181-1/+2
|\ \ \ | | | | | | | | Use systemctl restart docker instead of ansible service.
| * | | Use systemctl restart docker instead of ansible service.Devan Goodwin2016-05-181-1/+2
| |/ / | | | | | | | | | | | | | | | | | | Ansible is doing a full service stop and then start, which does not allow systemd to keep the containerized services up and running. Switching to this will cause the related services to come back within a few seconds.
* / / Refactor where we compute no_proxy hostnamesScott Dodson2016-05-172-0/+21
|/ /
* | Merge pull request #1897 from sdodson/issue1435Jason DeTiberus2016-05-171-2/+2
|\ \ | | | | | | Include sdn-ovs in upgrade commands to avoid pulling in newer packages
| * | Fix minor upgrades in 3.1Scott Dodson2016-05-161-2/+2
| | |
* | | Merge pull request #1811 from sdodson/dont-pull-cli-on-upgradeJason DeTiberus2016-05-171-0/+1
|\ \ \ | | | | | | | | Don't pull cli image when we're not containerized
| * | | Don't pull cli image when we're not containerizedScott Dodson2016-04-261-0/+1
| | | |
* | | | Set openshift.common.hostname early in playbook execution.Andrew Butcher2016-05-171-1/+4
| | | |
* | | | Merge pull request #1880 from dgoodwin/registry-insecureBrenton Leanhardt2016-05-164-10/+4
|\ \ \ \ | | | | | | | | | | Fixes for openshift_docker_hosted_registry_insecure var.
| * | | | Fixes for openshift_docker_hosted_registry_insecure var.Devan Goodwin2016-05-164-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a failure on masters if you explicitly set openshift_docker_hosted_registry_insecure=true. This is the default but if you tried to set it an error would trigger as a relevant variable was not passed in the master playbooks. Fixes setting the variable to false being ignored. master/node playbooks were referencing the docker fact, which was not set at that point and thus we were always getting the default of true, regardless what was in your inventory. Stop passing registry insecure in via playbooks, we can access it when running openshift_facts itself. Add a new default in openshift facts.
* | | | | Merge pull request #1859 from dgoodwin/containerized-upgradeBrenton Leanhardt2016-05-162-1/+3
|\ \ \ \ \ | |_|_|/ / |/| | | | Containerized Upgrade Fixes
| * | | | Do not upgrade containers to latest avail during a normal config run.Devan Goodwin2016-05-122-1/+3
| | | | |
* | | | | Merge pull request #1862 from abutcher/v2-vars-files-upgradeJason DeTiberus2016-05-135-1/+6
|\ \ \ \ \ | |/ / / / |/| | | | Remove vars_files on play includes for upgrade playbooks.
| * | | | Block upgrading w/ ansible v2.Andrew Butcher2016-05-121-1/+2
| | | | |
| * | | | Remove vars_files on play includes for upgrade playbooks.Andrew Butcher2016-05-124-0/+4
| | | | |
* | | | | Merge pull request #1737 from moolitayer/manageiq_sa_to_have_image_scanning_roleJason DeTiberus2016-05-121-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | Add image-auditor role to ManageIQ SA
| * | | | Add system:image-auditor role to ManageIQ SAMooli Tayer2016-05-031-0/+1
| | | | |
* | | | | Merge pull request #1874 from abutcher/eval-hostsJason DeTiberus2016-05-101-2/+0
|\ \ \ \ \ | | | | | | | | | | | | Remove extra evaluate_groups include.
| * | | | | Remove double evaluate_groups include.Andrew Butcher2016-05-101-2/+0
| | |/ / / | |/| | |
* | | | | Fixes for flannel configuration.Andrew Butcher2016-05-091-13/+10
| | | | |
* | | | | Initialize facts for all hosts.Andrew Butcher2016-05-092-0/+9
|/ / / /
* | | | Move modify_yaml up into top level library directoryScott Dodson2016-05-063-95/+2
| | | |
* | | | Enable dnsmasq on all hostsScott Dodson2016-05-061-0/+66
| |_|/ |/| | | | | | | | | | | | | | - Reconfigures masters to use port 8053 for SkyDNS - Runs openshift_node_dnsmasq role on all nodes - Reconfigures node to use dnsmasq
* | | Remove vars_files on play includes for byo, scaleup and restart playbooks.Andrew Butcher2016-05-051-0/+5
| | |
* | | Merge pull request #1839 from abutcher/v2-deprecationsJason DeTiberus2016-04-293-12/+12
|\ \ \ | | | | | | | | Cleanup various deprecation warnings.
| * | | Cleanup various deprecation warnings.Andrew Butcher2016-04-293-12/+12
| | | |
* | | | Merge pull request #1843 from detiber/remove_deprecated_rolesJason DeTiberus2016-04-293-19/+0
|\ \ \ \ | |/ / / |/| | | Remove deprecated roles
| * | | Remove deprecated online playbooks/rolesJason DeTiberus2016-04-293-19/+0
| | | |
* | | | Add openshift_docker_hosted_registry_insecure optionAndrew Lau2016-04-291-2/+2
|/ / /
* | | Update repos per inventory before upgradingScott Dodson2016-04-271-1/+2
| | |
* | | a-o-i: Populate groups for openshift_factsSamuel Munilla2016-04-271-1/+1
| | | | | | | | | | | | | | | openshift_facts is currently failing because it doesn't properly set up groups after the proxy changes we made. This fixes that.
* | | Move portal_net from openshift_common to openshift_facts.Andrew Butcher2016-04-261-4/+0
| | |