summaryrefslogtreecommitdiffstats
path: root/playbooks/common
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2023 from abutcher/openshift-hostedAndrew Butcher2016-07-082-20/+3
|\ | | | | Various hosted component improvements
| * Various hosted component improvementsAndrew Butcher2016-07-072-20/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * [openshift_projects] Add openshift_projects role * [openshift_hosted] hosted deployments use openshift_hosted_infra_selector if openshift_hosted_<component>_selector is not defined * [openshift_hosted] move openshift_projects, openshift_serviceaccounts and openshift_metrics to dependencies of openshift_hosted * [router] improve router deployment - add router option to force subdomain - add CA to router certificate options * [registry] move registry config into openshift_hosted role - additional registry fixes/tweaks - add s3 storage support for registry * [serviceaccount] fix up serviceaccount creation
* | Clean up some deprecation warningsTim Bielawa2016-07-071-4/+4
|/ | | | | | * "Using bare variables is deprecated. Update your playbooks so that the environment value uses the full variable syntax" * Closes #2125
* fix "hapoxy" typo in loadbalancer playbookMathias Merscher2016-07-061-1/+1
| | | | Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>
* Merge pull request #1969 from detiber/libvirtJason DeTiberus2016-07-051-0/+5
|\ | | | | Libvirt provider fixes
| * Fix bin/cluster libvirt related errorJason DeTiberus2016-06-011-0/+5
| |
* | Fix dnf variant of rpm_versions.shScott Dodson2016-07-051-1/+1
| |
* | Merge pull request #2097 from sdodson/repoqueryScott Dodson2016-06-291-3/+7
|\ \ | | | | | | Switch to repoquery, enable plugins for satellite support
| * | Switch to repoquery, enable plugins for satellite supportScott Dodson2016-06-291-3/+7
| | |
* | | Set any_errors_fatal for initialize facts play.Andrew Butcher2016-06-281-0/+1
| | |
* | | Set any_errors_fatal for etcd facts play.Andrew Butcher2016-06-281-0/+1
|/ /
* | Don't upgrade docker on non-containerized etcd.Andrew Butcher2016-06-242-1/+13
| |
* | Access embedded_etcd variable from oo_first_master hostvars.Andrew Butcher2016-06-241-1/+1
| |
* | Merge pull request #1927 from jfcoz/metrics_resolutionScott Dodson2016-06-231-1/+1
|\ \ | | | | | | add unit in seconds for metrics resolution
| * | add unit in seconds for metrics resolutionjfcoz2016-05-231-1/+1
| | |
* | | If registry_url != registry.access.redhat.com then modify image streamsScott Dodson2016-06-175-0/+5
| | |
* | | Merge pull request #2041 from dgoodwin/no-proxy-hostnamesScott Dodson2016-06-141-0/+12
|\ \ \ | | | | | | | | Fix no proxy hostnames during upgrade.
| * | | Fix no proxy hostnames during upgrade.Devan Goodwin2016-06-141-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This value not being set was causing missing hostnames in the sysconfig files with NO_PROXY. This is not the same way we set it during config playbooks, they use vars definitions but this is too difficult in upgrade as there are too many roles that might need it set.
* | | | Remove Docker 1.10 requirement temporarily.Devan Goodwin2016-06-102-3/+17
|/ / / | | | | | | | | | | | | | | | Docker 1.10 is not widely available in RHEL / CentOS yet, lets remove the restriction for users of master / origin. We can revert as soon as it's available publically.
* | | Merge pull request #2005 from brenton/bz1338726Brenton Leanhardt2016-06-092-18/+3
|\ \ \ | | | | | | | | Bug 1338726 - never abort install if the latest version of docker is already installed
| * | | Docker 1.10 UpgradeDevan Goodwin2016-06-032-18/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a separate playbook for Docker 1.10 upgrade that can be run standalone on a pre-existing 3.2 cluster. The upgrade will take each node out of rotation, and remove *all* containers and images on it, as this is reportedly faster and more storage efficient than performing the in place 1.10 upgrade. This process is integrated into the 3.1 to 3.2 upgrade process. Normal config playbooks now become 3.2 only, and require Docker 1.10. Users of older environments will have to use an appropriate openshift-ansible version. Config playbooks no longer are in the business of upgrading or downgrading docker.
* | | Add openshift_loadbalancer_facts role to set lb facts prior to running ↵Andrew Butcher2016-06-081-2/+0
| | | | | | | | | | | | dependencies.
* | | Use unique play names to make things easier to debugScott Dodson2016-06-073-5/+5
|/ /
* | Merge pull request #1968 from abutcher/os-firewall-evalJason DeTiberus2016-06-011-0/+2
|\ \ | | | | | | [v2] Move os_firewall_allow from defaults to role dependencies.
| * | Add haproxy_frontend_port to vars for openshift-loadbalancer.Andrew Butcher2016-06-011-0/+2
| | |
* | | Merge pull request #1957 from jfcoz/metrics_wait_deployerJason DeTiberus2016-06-012-22/+24
|\ \ \ | | | | | | | | wait metrics-deployer complete (need to configure nodes before hosted…
| * | | wait metrics-deployer complete (need to configure nodes before hosted services)jfcoz2016-05-272-22/+24
| | |/ | |/|
* | | Ensure registry url evaluated when creating router.Andrew Butcher2016-05-311-1/+3
| |/ |/|
* | Revert openshift-certificates changes.Andrew Butcher2016-05-302-14/+157
| |
* | 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
| | |
* | | 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.