summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Fix openshift_hosted_logging bool typo.Andrew Butcher2017-02-011-1/+1
|
* Fix host when waiting for a master system restart.Devan Goodwin2017-02-011-1/+2
| | | | | | Discovered situations where the inventory hostname may not be resolvable with operations. Switching to the ssh host (an IP) should always be correct.
* During node upgrade upgrade openvswitch rpmsScott Dodson2017-01-311-0/+15
| | | | | Containerized upgrades of openvswitch are already handled by updating the container images and pulling them again.
* Merge pull request #3194 from mtnbikenc/upgrade-3_5-forkRussell Teague2017-01-318-3/+337
|\ | | | | Create v3_5 upgrade playbooks
| * Create v3_5 upgrade playbooksRussell Teague2017-01-308-3/+337
| |
* | Resolving yamllint issues from logging playbooksewolinetz2017-01-303-16/+16
| |
* | Merge pull request #3214 from ewolinetz/logging_configure_loggingpublicurlScott Dodson2017-01-303-0/+30
|\ \ | |/ |/| Updating openshift_logging role to add kibana public url to loggingPu…
| * Updating openshift_hosted_logging to update master-configs with publicLoggingURLewolinetz2017-01-303-0/+23
| |
| * Breaking out master-config changing and updated playbook to apply change to ↵ewolinetz2017-01-301-0/+7
| | | | | | | | other masters
* | Adding names to plays and standardizingRussell Teague2017-01-2718-38/+95
|/
* Merge pull request #3198 from mtnbikenc/drain-fixRussell Teague2017-01-263-5/+4
|\ | | | | Correct usage of draining nodes
| * Correct usage of draining nodesRussell Teague2017-01-263-5/+4
| |
* | Standardize add_host: with name and changed_whenRussell Teague2017-01-2522-26/+74
|/ | | | | | | The add_host: task does not change any data on the host and as practice has been configured to changed_when: False. This commit standardizes that usage in the byo and common playbooks. Additionally, taks names are added to each task to improve troubleshooting.
* Merge pull request #2981 from dgoodwin/upgrade-wait-for-nodeJason DeTiberus2017-01-241-0/+13
|\ | | | | Wait for nodes to be ready before proceeding with upgrade.
| * Wait for nodes to be ready before proceeding with upgrade.Devan Goodwin2016-12-151-0/+13
| | | | | | | | | | | | | | | | | | Near the end of node upgrade, we now wait for the node to report Ready before marking it schedulable again. This should help eliminate delays when pods need to relocate as the next node in line is evacuated. Happens near the end of the process, the only remaining task would be to mark it schedulable again so easy for admins to detect and recover from.
* | Merge pull request #3044 from mtnbikenc/docker-optionsJason DeTiberus2017-01-241-0/+3
|\ \ | | | | | | Add new option 'docker_selinux_enabled'
| * | Add new option 'openshift_docker_selinux_enabled'Russell Teague2017-01-241-0/+3
| | | | | | | | | | | | | | | Allows controlling 'selinux-enabled' docker options Can be set to true or false
* | | Merge pull request #3101 from dgoodwin/pre-post-master-hookJason DeTiberus2017-01-241-0/+24
|\ \ \ | |/ / |/| | Implement simple hooks pre/post master upgrade.
| * | Add a mid upgrade hook, re-prefix variables.Devan Goodwin2017-01-231-9/+17
| | |
| * | Debug message before running hooks.Devan Goodwin2017-01-191-0/+6
| | |
| * | Run user provided hooks prior to system/service restarts.Devan Goodwin2017-01-191-3/+4
| | |
| * | Implement pre/post master upgrade hooks.Devan Goodwin2017-01-191-0/+9
| | |
* | | Remove unused temporary directory in master config playbook.Andrew Butcher2017-01-231-21/+0
| | |
* | | Cleaning repo cache earlierRussell Teague2017-01-193-8/+17
|/ /
* | Merge pull request #3093 from mtnbikenc/upgrade-fixScott Dodson2017-01-191-0/+2
|\ \ | | | | | | Correct consistency between upgrade playbooks
| * | Correct consistency between upgrade playbooksRussell Teague2017-01-131-0/+2
| | |
* | | Merge pull request #3057 from dgoodwin/serial-master-upgradeScott Dodson2017-01-198-33/+45
|\ \ \ | | | | | | | | Serial master upgrade
| * | | Perform master upgrades in a single play serially.Devan Goodwin2017-01-183-28/+24
| | | |
| * | | Validate system restart policy during pre-upgrade.Devan Goodwin2017-01-188-70/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was done far into the process potentially leaving the user in a difficult situation if they had now considered they were running the upgrade playbook on a host that would be restarted. Instead check configuration and what host we're running on in pre-upgrade and allow the user to abort before making any substantial changes. This is a step towards merging master upgrade into one serial process.
* | | | More reliable wait for master after full host reboot.Devan Goodwin2017-01-181-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This would fail in some environments where openshift.common.hostname was not reachable from the local system running ansible. Additionally it is also possible the API port would not be available even if the host were. Instead we wait for master ssh connection to come back up, then wait for the master API on the remote host just as we do for the "service" style restart.
* | | | Merge pull request #3100 from abutcher/serialsScott Dodson2017-01-182-8/+0
|\ \ \ \ | |/ / / |/| | | Serialize cert creation in delegated commands
| * | | Create individual serving cert and loopback kubeconfig for additional masters.Andrew Butcher2017-01-162-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | Deprecates use of 'create-master-certs' for generating master serving certificate and loopback kubeconfig in order to reference the first master's CA serial file.
* | | | Merge pull request #2640 from ewolinetz/logging_deployer_tasksScott Dodson2017-01-172-0/+40
|\ \ \ \ | | | | | | | | | | Logging deployer tasks
| * | | | Addressing Travis errorsewolinetz2017-01-171-0/+1
| | | | |
| * | | | minor updates for code reviews, remove unused paramsJeff Cantrill2016-12-191-0/+5
| | | | |
| * | | | Creating openshift_logging role for deploying Aggregated Logging without a ↵ewolinetz2016-12-142-0/+34
| | | | | | | | | | | | | | | | | | | | deployer image
* | | | | Merge pull request #2786 from dgoodwin/docker-1.12Scott Dodson2017-01-173-7/+5
|\ \ \ \ \ | | | | | | | | | | | | Begin requiring Docker 1.12.
| * | | | | Begin requiring Docker 1.12.Devan Goodwin2016-11-103-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building off the work done for Docker 1.10, we now require Docker 1.12 by default. The upgrade process was already set to ensure you are running the latest docker during upgrade, and the standalone docker upgrade playbook can also be used if desired. As before, you can override this Docker 1.12 requirement by setting a docker_version=1.10.3 (or similar), and you can skip the default to upgrade docker by setting docker_upgrade=False.
* | | | | | metrics fixes for yamlintJeff Cantrill2017-01-171-0/+1
| | | | | |
* | | | | | Add tasks to uninstall metrics (#7)Jeff Cantrill2017-01-171-0/+4
| | | | | |
* | | | | | Merge pull request #3083 from rhcarvalho/doc-playbooksScott Dodson2017-01-178-0/+60
|\ \ \ \ \ \ | | | | | | | | | | | | | | Document playbook directories
| * | | | | | Document playbook directoriesRodolfo Carvalho2017-01-138-0/+60
| | |_|_|/ / | |/| | | |
* | | | | | Merge pull request #3064 from giuseppe/fix-etcdctl-from-containerScott Dodson2017-01-171-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | use etcdctl from the container when containerized=True
| * | | | | | use etcdctl from the container when containerized=TrueGiuseppe Scrivano2017-01-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | | | Merge pull request #2993 from rhcarvalho/success-preflightRodolfo Carvalho2017-01-172-0/+74
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | Add RPM checks as a byo playbook
| * | | | | | Rename subrole facts -> initRodolfo Carvalho2017-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trying to improve the name, `init` needs to be loaded before calling other subroles. We don't make `init` a dependency of `common`, `masters` and `nodes` to avoid running the relatively slow `openshift_facts` multiple times.
| * | | | | | Replace custom variables with openshift_factsRodolfo Carvalho2017-01-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: on a simple example run of ansible-playbook against a single docker-based host, I saw the execution time jump from 7s to 17s. That's unfortunate, but it is probably better to reuse openshift_facts, than to come up with new variables.
| * | | | | | Move playbook to BYORodolfo Carvalho2017-01-122-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Because that's the main playbook directory in use.
| * | | | | | Refactor preflight check into rolesRodolfo Carvalho2017-01-123-150/+14
| | | | | | |
| * | | | | | Add RPM checks as an adhoc playbookRodolfo Carvalho2017-01-123-0/+211
| | |/ / / / | |/| | | |