summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc
Commit message (Collapse)AuthorAgeFilesLines
* Remove playbooks/adhoc/openshift_hosted_logging_efk.yamlScott Dodson2018-01-311-18/+0
|
* Don't update master-config.yaml with logging/metrics urls >= 3.9Scott Dodson2018-01-311-1/+3
|
* Migrate to import_role for static role inclusionScott Dodson2018-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | In Ansible 2.2, the include_role directive came into existence as a Tech Preview. It is still a Tech Preview through Ansible 2.4 (and in current devel branch), but with a noteable change. The default behavior switched from static: true to static: false because that functionality moved to the newly introduced import_role directive (in order to stay consistent with include* being dynamic in nature and `import* being static in nature). The dynamic include is considerably more memory intensive as it will dynamically create a role import for every host in the inventory list to be used. (Also worth noting, there is at the time of this writing an object allocation inefficiency in the dynamic include that can in certain situations amplify this effect considerably) This change is meant to mitigate the pressure on memory for the Ansible control host. We need to evaluate where it makes sense to dynamically include roles and revert back to dynamic inclusion if and where it makes sense to do so.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-201-8/+7
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Deprecate using Ansible tests as filtersRussell Teague2017-12-141-7/+7
|
* Merge pull request #6136 from jmencak/tuned-uninstall-bz1509129Scott Dodson2017-12-081-1/+1
|\ | | | | Uninstall tuned-profiles-atomic-openshift-node as defined in origin.spec
| * Uninstall tuned-profiles-atomic-openshift-node as defined in origin.specJiri Mencak2017-11-161-1/+1
| | | | | | | | | | | | | | | | The origin.spec file defines two variants of tuned rpm packages: tuned-profiles-atomic-openshift-node and tuned-profiles-origin-node. Uninstall them both. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509129
* | Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher2017-12-051-5/+0
| | | | | | | | | | | | | | openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
* | Fix hosted varsMichael Gugino2017-12-051-1/+1
| | | | | | | | | | | | Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
* | retry package operationsLuke Meyer2017-11-301-0/+10
|/ | | | | | When a package install/update fails due to network blips or other spotty availability, retry it. If the failure is a real failure (e.g. package is really not there) it still fails after 3 tries (Ansible default).
* Merge pull request #5967 from gregswift/uninstallOpenShift Merge Robot2017-11-151-14/+55
|\ | | | | | | | | | | | | Automatic merge from submit-queue. Cleans up additional artifacts in uninstall. Closes 3082 Closes #3082
| * Cleans up additional artifacts in uninstall. Closes 3082Greg Swift2017-10-311-14/+55
| |
* | Remove remaining haproxy files with uninstallationKenjiro Nakayama2017-11-081-0/+4
|/
* Remove some reminants of Atomic EnterpriseScott Dodson2017-09-262-65/+2
|
* Remove openshift-commonMichael Gugino2017-09-061-2/+0
| | | | | | | | | 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.
* Test docker restart with retries 3 delay 30Steve Milner2017-07-181-0/+4
|
* Run dns on the node and use that for dnsmasqScott Dodson2017-06-301-9/+16
|
* Restart NetworkManager only if dnsmasq was usedBenjamin Affolter2017-06-211-0/+1
|
* Merge pull request #4329 from srampal/rhel_ose_aciOpenShift Bot2017-06-181-1/+1
|\ | | | | Merged by openshift-bot
| * Add support for rhel, aci, vxlanSanjeev Rampal2017-05-311-1/+1
| |
* | Rename cockpit-shell -> cockpit-systemRodolfo Carvalho2017-06-161-2/+2
| | | | | | | | | | | | | | | | The package name has changed. See https://bugzilla.redhat.com/show_bug.cgi?id=1461689 https://bugzilla.redhat.com/show_bug.cgi?id=1419718
* | Separate client config removal in uninstall s.t. ansible_ssh_user is removed ↵Andrew Butcher2017-06-061-2/+10
|/ | | | from with_items.
* Uninstall: restart docker when container-engine restart hasn't changed.Andrew Butcher2017-05-171-1/+1
|
* uninstall: handle container-engineGiuseppe Scrivano2017-05-151-0/+7
| | | | | | | Try to restart the docker service only when there is not already a running container-engine service. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Remove vim configuration from Python filesRodolfo Carvalho2017-05-091-1/+0
| | | | | | | In a project where contributors are free to use whatever editor they want and we have linting tools that verify the proper formatting of Python files, it should not be required to have a vim-specific line in Python files.
* Don't double quote when conditionsScott Dodson2017-05-016-9/+9
|
* Remove jinja template delimeters from when conditionsScott Dodson2017-05-016-9/+9
| | | | | | In ansible 2.3 "[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ g_glusterfs_hosts is not defined }}"
* Combined (squashed) commit for all changes related to adding Contiv support ↵Sanjeev Rampal2017-02-271-0/+29
| | | | into Openshift Ansible. This is the first (beta) release of Contiv with Openshift and is only supported for Openshift Origin + Bare metal deployments at the time of this commit. Please refer to the Openshift and Contiv official documentation for details of the level of support for different features and modes of operation.
* Merge pull request #3332 from giuseppe/system-containers-haGiuseppe Scrivano2017-02-151-0/+16
|\ | | | | system containers: add support for HA deployments
| * uninstall: delete master-api and master-controllersGiuseppe Scrivano2017-02-101-0/+16
| | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | Removed adhoc s3_registrySteve Milner2017-02-132-104/+0
| | | | | | | | s3 items are now supported directly in the openshift_hosted role.
* | Merge pull request #3307 from ingvagabund/oc_serviceaccount_secretJan Chaloupka2017-02-111-5/+8
|\ \ | |/ |/| Replace service account secrets handling with oc_serviceaccount_secret module
| * Replace service account secrets handling with oc_serviceaccount_secret moduleJan Chaloupka2017-02-101-5/+8
| |
* | Merge pull request #3109 from giuseppe/system-containersGiuseppe Scrivano2017-02-101-0/+26
|\ \ | | | | | | System containers
| * | etcd: use as system containerGiuseppe Scrivano2017-02-101-1/+4
| | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | Implement uninstall for system containersGiuseppe Scrivano2017-02-101-0/+23
| |/ | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | Updating defaults to pull from previously defined variable names used in ↵ewolinetz2017-02-081-3/+3
| | | | | | | | playbooks
* | Reverting commit 3257 and renaming master_url to openshift_logging_master_urlewolinetz2017-02-071-2/+2
|/
* fixes 1417261. Points playbooks to the correct 3.5 roles for logging and metricsJeff Cantrill2017-02-021-2/+2
|
* Resolving yamllint issues from logging playbooksewolinetz2017-01-301-6/+6
|
* Updating openshift_hosted_logging to update master-configs with publicLoggingURLewolinetz2017-01-301-0/+11
|
* Document playbook directoriesRodolfo Carvalho2017-01-131-0/+5
|
* Partial uninstallSebastian Jug2017-01-101-97/+177
|
* remove duplicate filter name and oo_pdbJason DeTiberus2016-12-211-11/+0
|
* remove old Ops toolingJason DeTiberus2016-12-218-226/+0
|
* [uninstall] Remove excluder packagesScott Dodson2016-12-161-0/+8
| | | | You will lose hours of your life if you don't do this.
* YAML LintingRussell Teague2016-12-1213-29/+26
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* update tests and flake8/pylint fixesJason DeTiberus2016-11-291-1/+0
|
* Refactor to use Ansible package moduleRussell Teague2016-11-171-5/+5
| | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Drop /etc/profile.d/etcdctl.shScott Dodson2016-11-141-0/+1
| | | | | Includes bash functions for etcdctl2 and etcdctl3 which provide reasonable defaults for etcdctl functions on a host that's configured with openshift_etcd.