summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Do not default registry storage kind to 'nfs' when 'nfs' group exists.Andrew Butcher2017-01-121-5/+0
|/ / | | | | | | | | | | | | This makes it possible to use openshift-ansible configured nfs for hosted components other than the registry while also configuring empty-dir registry storage (no openshift_hosted_registry_storage_kind set).
* | Add a fact to select --evacuate or --drain based on your OCP versionTim Bielawa2017-01-113-3/+3
| | | | | | | | Closes #3070
* | rename openshift_metrics to openshift_hosted_metricsJeff Cantrill2017-01-111-1/+1
| |
* | Merge pull request #3060 from abutcher/return-deps-to-rolesScott Dodson2017-01-103-95/+5
|\ \ | | | | | | Return role dependencies to roles for openshift_{hosted,master,node}
| * | Move role dependencies out of playbooks for openshift_master, openshift_node ↵Andrew Butcher2017-01-093-95/+5
| | | | | | | | | | | | and openshift_hosted.
* | | Partial uninstallSebastian Jug2017-01-101-97/+177
| | |
* | | Merge pull request #3056 from rhcarvalho/cleanup-cluster-upgradeRodolfo Carvalho2017-01-103-206/+1
|\ \ \ | | | | | | | | Cleanup cluster upgrade
| * | | Remove unused fileRodolfo Carvalho2017-01-091-12/+0
| | | | | | | | | | | | | | | | | | | | All references to it were removed in b89c835e3235f2628b37de15713c311d1b5a4bad
| * | | Remove unused fileRodolfo Carvalho2017-01-091-193/+0
| | | | | | | | | | | | | | | | | | | | All references to it were removed in 739ad9de2a11bb8c67d77641a86cfd39e4594542
| * | | Remove spurious argumentRodolfo Carvalho2017-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The script nuke_images.sh was introduced in 0c31d72be3bf32f848eedad9859a81ba858f8c8f and seems that the shell argument $1 was never used (the only $1 in the script back then refers to a field in a awk script). There was a reference to $2 that was always undefined/empty. The script was then simplified in b89c835e3235f2628b37de15713c311d1b5a4bad, removing any reference to $1 and $2. This commit cleans up the only call site to the shell script.
* | | | Merge pull request #3058 from openshift/etcd-imageScott Dodson2017-01-091-2/+1
|\ \ \ \ | |/ / / |/| | | etcd 3.x image is 'etcd' not 'etcd3'
| * | | Use registry.access.redhat.com/rhel7/etcd instead of etcd3Scott Dodson2017-01-091-2/+1
| |/ /
* / / Use openshift.common.hostname when verifying API port available.Andrew Butcher2017-01-062-14/+10
|/ /
* | Don't upgrade etcd on atomic host, ever.Scott Dodson2017-01-051-8/+21
| | | | | | | | | | Fixes Bug 1408668 Fixes BZ1408668
* | remove duplicate filter name and oo_pdbJason DeTiberus2016-12-211-11/+0
| |
* | remove old Ops toolingJason DeTiberus2016-12-218-226/+0
| |
* | python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus2016-12-201-1/+1
| | | | | | | | versions
* | Merge pull request #2985 from sdodson/remove-excluderScott Dodson2016-12-201-0/+8
|\ \ | | | | | | [uninstall] Remove excluder packages
| * | [uninstall] Remove excluder packagesScott Dodson2016-12-161-0/+8
| | | | | | | | | | | | You will lose hours of your life if you don't do this.
* | | Merge pull request #2986 from tbielawa/deprecate_node_evacuationTim Bielawa2016-12-193-11/+11
|\ \ \ | | | | | | | | Deprecate node 'evacuation' with 'drain'
| * | | Deprecate node 'evacuation' with 'drain'Tim Bielawa2016-12-163-11/+11
| |/ / | | | | | | | | | * https://trello.com/c/TeaEB9fX/307-3-deprecate-node-evacuation
* | | Merge pull request #2989 from abutcher/3.4-master-config-hookScott Dodson2016-12-162-2/+13
|\ \ \ | | | | | | | | Add master config hook for 3.4 upgrade and fix facts ordering
| * | | Add master config hook for 3.4 upgrade and fix facts ordering for config ↵Andrew Butcher2016-12-162-2/+13
| |/ / | | | | | | | | | hook run.
* / / The next registry.access.redhat.com/rhel7/etcd image will be 3.0.15Scott Dodson2016-12-161-1/+1
|/ /
* | Updated OpenShift Master iptables rulesRussell Teague2016-12-121-12/+5
| | | | | | | | | | | | | | * Removed unneeded rules * Moved etcd rule to conditional based on usage of embedded etcd https://bugzilla.redhat.com/show_bug.cgi?id=1386329
* | YAML LintingRussell Teague2016-12-1252-229/+222
| | | | | | | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* | Make both backup and upgrade optionalScott Dodson2016-12-092-95/+99
| |
* | [upgrades] Upgrade etcd by defaultScott Dodson2016-12-093-11/+21
| |
* | upgrades - Fix logic error about when to backup etcdScott Dodson2016-12-091-1/+1
| |
* | Removed verify_ansible_version playbook refsRussell Teague2016-12-0810-33/+2
| |
* | Merge pull request #2902 from dgoodwin/fix-metrics-urlScott Dodson2016-12-081-2/+2
|\ \ | | | | | | Fix metricsPublicURL only being set correctly on first master.
| * | Fix metricsPublicURL only being set correctly on first master.Devan Goodwin2016-12-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem was caused by facts not being set for that master. To fix this patch cleans up the calculation of metricsPublicURL in general. Because this value is used in openshift_master to template into the master config file, we now define these facts more clearly in openshift_master_facts, and add a dependency on this to openshift_metrics. The calculation of default sub-domain is also changed to remove it from system facts (as neither of these are facts about the system) and instead use plain variables.
* | | Merge pull request #2950 from dgoodwin/drop-32-upgradeScott Dodson2016-12-083-84/+0
|\ \ \ | | | | | | | | Drop 3.2 upgrade playbooks.
| * | | Drop 3.2 upgrade playbooks.Devan Goodwin2016-12-083-84/+0
| | | |
* | | | Merge pull request #2946 from dagwieers/patch-1Scott Dodson2016-12-081-0/+2
|\ \ \ \ | | | | | | | | | | Silence warnings when using some commands directly
| * | | | Silence warnings when using rpm directlyDag Wieers2016-12-081-0/+2
| |/ / /
* / / / Silence warnings when using rpm directlyDag Wieers2016-12-081-0/+2
|/ / /
* | | Merge pull request #2934 from sdodson/etcd3-v2Scott Dodson2016-12-071-7/+4
|\ \ \ | | | | | | | | etcd_upgrade: Simplify package installation
| * | | etcd_upgrade: Simplify package installationScott Dodson2016-12-071-7/+4
| | | |
* | | | Merge pull request #2892 from detiber/upgradeSchedulerScott Dodson2016-12-073-12/+177
|\ \ \ \ | |/ / / |/| | | Scheduler upgrades
| * | | add comments and remove debug codeJason DeTiberus2016-12-071-2/+8
| | | |
| * | | Handle updating of scheduler config during upgradeJason DeTiberus2016-12-062-3/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - do not upgrade predicates if openshift_master_scheduler_predicates is defined - do not upgrade priorities if openshift_master_scheduler_priorities is defined - do not upgrade predicates/priorities unless they match known previous default configs - output WARNING to user if predictes/priorities are not updated during install