summaryrefslogtreecommitdiff
path: root/playbooks/adhoc
AgeCommit message (Collapse)Author
2018-01-31Remove playbooks/adhoc/openshift_hosted_logging_efk.yamlScott Dodson
2018-01-31Don't update master-config.yaml with logging/metrics urls >= 3.9Scott Dodson
2018-01-05Migrate to import_role for static role inclusionScott Dodson
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.
2017-12-20Remove openshift.common.{is_atomic|is_containerized}Michael Gugino
We set these variables using facts in init, no need to duplicate the logic all around the codebase.
2017-12-14Deprecate using Ansible tests as filtersRussell Teague
2017-12-08Merge pull request #6136 from jmencak/tuned-uninstall-bz1509129Scott Dodson
Uninstall tuned-profiles-atomic-openshift-node as defined in origin.spec
2017-12-05Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher
openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
2017-12-05Fix hosted varsMichael Gugino
Remove hosted vars from openshift_facts. The current pattern is causing a bunch of undesired sideffects.
2017-11-30retry package operationsLuke Meyer
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).
2017-11-16Uninstall tuned-profiles-atomic-openshift-node as defined in origin.specJiri Mencak
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
2017-11-15Merge pull request #5967 from gregswift/uninstallOpenShift Merge Robot
Automatic merge from submit-queue. Cleans up additional artifacts in uninstall. Closes 3082 Closes #3082
2017-11-08Remove remaining haproxy files with uninstallationKenjiro Nakayama
2017-10-31Cleans up additional artifacts in uninstall. Closes 3082Greg Swift
2017-09-26Remove some reminants of Atomic EnterpriseScott Dodson
2017-09-06Remove openshift-commonMichael Gugino
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.
2017-07-18Test docker restart with retries 3 delay 30Steve Milner
2017-06-30Run dns on the node and use that for dnsmasqScott Dodson
2017-06-21Restart NetworkManager only if dnsmasq was usedBenjamin Affolter
2017-06-18Merge pull request #4329 from srampal/rhel_ose_aciOpenShift Bot
Merged by openshift-bot
2017-06-16Rename cockpit-shell -> cockpit-systemRodolfo Carvalho
The package name has changed. See https://bugzilla.redhat.com/show_bug.cgi?id=1461689 https://bugzilla.redhat.com/show_bug.cgi?id=1419718
2017-06-06Separate client config removal in uninstall s.t. ansible_ssh_user is removed ↵Andrew Butcher
from with_items.
2017-05-31Add support for rhel, aci, vxlanSanjeev Rampal
2017-05-17Uninstall: restart docker when container-engine restart hasn't changed.Andrew Butcher
2017-05-15uninstall: handle container-engineGiuseppe Scrivano
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>
2017-05-09Remove vim configuration from Python filesRodolfo Carvalho
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.
2017-05-01Don't double quote when conditionsScott Dodson
2017-05-01Remove jinja template delimeters from when conditionsScott Dodson
In ansible 2.3 "[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ g_glusterfs_hosts is not defined }}"
2017-02-27Combined (squashed) commit for all changes related to adding Contiv support ↵Sanjeev Rampal
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.
2017-02-15Merge pull request #3332 from giuseppe/system-containers-haGiuseppe Scrivano
system containers: add support for HA deployments
2017-02-13Removed adhoc s3_registrySteve Milner
s3 items are now supported directly in the openshift_hosted role.
2017-02-11Merge pull request #3307 from ingvagabund/oc_serviceaccount_secretJan Chaloupka
Replace service account secrets handling with oc_serviceaccount_secret module
2017-02-10uninstall: delete master-api and master-controllersGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-02-10Merge pull request #3109 from giuseppe/system-containersGiuseppe Scrivano
System containers
2017-02-10Replace service account secrets handling with oc_serviceaccount_secret moduleJan Chaloupka
2017-02-10etcd: use as system containerGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-02-10Implement uninstall for system containersGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-02-08Updating defaults to pull from previously defined variable names used in ↵ewolinetz
playbooks
2017-02-07Reverting commit 3257 and renaming master_url to openshift_logging_master_urlewolinetz
2017-02-02fixes 1417261. Points playbooks to the correct 3.5 roles for logging and metricsJeff Cantrill
2017-01-30Resolving yamllint issues from logging playbooksewolinetz
2017-01-30Updating openshift_hosted_logging to update master-configs with publicLoggingURLewolinetz
2017-01-13Document playbook directoriesRodolfo Carvalho
2017-01-10Partial uninstallSebastian Jug
2016-12-21remove duplicate filter name and oo_pdbJason DeTiberus
2016-12-21remove old Ops toolingJason DeTiberus
2016-12-16[uninstall] Remove excluder packagesScott Dodson
You will lose hours of your life if you don't do this.
2016-12-12YAML LintingRussell Teague
* Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
2016-11-29update tests and flake8/pylint fixesJason DeTiberus
2016-11-17Refactor to use Ansible package moduleRussell Teague
The Ansible package module will call the correct package manager for the underlying OS.
2016-11-14Drop /etc/profile.d/etcdctl.shScott Dodson
Includes bash functions for etcdctl2 and etcdctl3 which provide reasonable defaults for etcdctl functions on a host that's configured with openshift_etcd.