summaryrefslogtreecommitdiffstats
path: root/roles/etcd/tasks/main.yml
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate using Ansible tests as filtersRussell Teague2017-12-141-3/+5
|
* retry package operationsLuke Meyer2017-11-301-0/+2
| | | | | | 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).
* Include Deprecation - openshift-etcdRussell Teague2017-11-221-4/+3
|
* Cleanup etcd runtime variable.Michael Gugino2017-11-211-4/+4
| | | | Cleaning out reference to etcd_runtime in openshift facts.
* Refactor etcd imageMichael Gugino2017-11-201-1/+1
| | | | Simplify logic for etcd_image
* Separate certificate playbooks.Andrew Butcher2017-10-021-2/+0
|
* consolidate etcd_common roleJan Chaloupka2017-09-251-4/+1
|
* Consolidate etcd certs rolesJan Chaloupka2017-09-181-0/+2
| | | | | | | This is a part of the etcd_ like role consolidationi into an action-based role. As part of the consilidation some roles have been removed and some replaced by include_role module. Resulting in reorder and shift of role dependencies from a role into a play.
* First attempt at refactor of os_firewallKenny Woodson2017-08-081-0/+4
|
* Fix etcd conditional check failureMarc Rooding2017-07-071-1/+2
|
* drop etcdctl before the etcd_container serviceJan Chaloupka2017-07-041-6/+6
| | | | | If the etcdctl is dropped after the etcd_container is enabled, label of /var/lib/etcd directory is set to var_lib_t instead of virt_sandbox_file_t.
* move etcd backup to etcd_common roleJan Chaloupka2017-06-141-1/+2
|
* move etcdctl.yml from etcd to etcd_common roleJan Chaloupka2017-05-031-1/+3
|
* Don't double quote when conditionsScott Dodson2017-05-011-1/+1
|
* Refactor etcd rolesJan Chaloupka2017-04-281-59/+53
| | | | | | | | - introduce block and simplify when conditions - introduce config.yml so the self-standing etcd role can be run (e.g. to test etcd cluster deployment) - remove empty task files - skip dependency on openshift_etcd_ca - replace cert paths with their appropriate variables
* add ability to specify an etcd versionMark McKinstry2017-03-081-1/+1
|
* Only set ownership to etcd for thirdparty datadirScott Dodson2017-03-021-1/+8
| | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1428532
* Combined (squashed) commit for all changes related to adding Contiv support ↵Sanjeev Rampal2017-02-271-3/+43
| | | | 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.
* etcd: use as system containerGiuseppe Scrivano2017-02-101-4/+20
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Refactored to use Ansible systemd moduleRussell Teague2016-11-281-21/+11
| | | | | | * Ansible systemd module used in place of service module * Refactored command tasks which are no longer necessary * Applying rules from openshift-ansible Best Practices Guide
* Refactor to use Ansible package moduleRussell Teague2016-11-171-1/+1
| | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Drop /etc/profile.d/etcdctl.shScott Dodson2016-11-141-0/+3
| | | | | Includes bash functions for etcdctl2 and etcdctl3 which provide reasonable defaults for etcdctl functions on a host that's configured with openshift_etcd.
* tweak logicJason DeTiberus2016-09-261-2/+2
|
* test fix for systemd changesScott Dodson2016-09-261-2/+3
|
* Support for redeploying certificates.Andrew Butcher2016-08-111-24/+0
|
* Stop reporting changes when docker pull is already up to date.Devan Goodwin2016-07-201-0/+2
|
* Fix error with stopping services that may not exist.Devan Goodwin2016-06-021-6/+6
| | | | | | Causes a hard failure due to missing etcd/atomic-openshift-master services. Instead, check that the services exist before ensuring they're stopped/disabled.
* Use openshift_hostname/openshift_ip values for etcd configuration and ↵Andrew Butcher2016-04-201-20/+19
| | | | certificates.
* Bug 1320829 - Ensure docker installed for factsJason DeTiberus2016-03-311-1/+2
| | | | | | - gather facts requiring docker only if docker is present and running - Update reference to etcd role in playbooks/common/openshift-etcd/config.yml to use openshift_etcd
* Only mask etcd service for containerized installls when it's installedScott Dodson2016-03-151-1/+5
|
* improve ordering of systemd unitsJason DeTiberus2016-03-141-0/+4
|
* Ensure is_containerized is cast as bool.Andrew Butcher2016-03-141-1/+1
|
* remove version requirement from etcd, shouldn't be needed anymoreAdam Miller2016-02-221-1/+1
|
* Always pull docker imagesScott Dodson2016-01-071-16/+0
|
* Fix typo in etcd service status fact.Andrew Butcher2016-01-041-1/+1
|
* Fix restart handlers.Andrew Butcher2015-12-261-1/+1
|
* Add some guards to wait for images to be pulled before moving onScott Dodson2015-12-161-0/+10
|
* pull docker images only if not already presentJason DeTiberus2015-12-151-3/+8
|
* fixesJason DeTiberus2015-12-151-10/+7
|
* Containerization work by @sdodsonScott Dodson2015-12-151-2/+36
|
* Initial containerization work from @ibottyTobias Florek2015-12-151-1/+1
| | | | copied from https://github.com/eparis/kubernetes-ansible/blob/17f98edd7ff53e649b43e26822b8fbc0be42b233/roles/common/tasks/main.yml
* Remove yum / dnf duplicationScott Dodson2015-12-091-6/+1
|
* Fedora changes:Adam Miller2015-12-021-0/+5
| | | | | | | | | | | | | - ansible bootstrap playbook for Fedora 23+ - add conditionals to handle yum vs dnf - add Fedora OpenShift COPR - update BYO host README for repo configs and fedora bootstrap Fix typo in etcd README, remove unnecessary parens in openshift_node main.yml rebase on master, update package cache refresh handler for yum vs dnf Fix typo in etcd README, remove unnecessary parens in openshift_node main.yml
* Fix etcd cert generation when etcd_interface is definedJason DeTiberus2015-11-021-2/+10
| | | | | | | | - Refactor certificate generation to properly accept overrides of etcd_interface per host and set the certificate SANS and peer URLs properly. - Add sanity checking to user-set values of etcd_interface to provide a better error message
* UpgradesScott Dodson2015-09-231-0/+1
|
* Require etcd 2.*Scott Dodson2015-08-131-1/+1
| | | | | | | Fixes #422 When etcd-2.1 is available in RHEL7 / Centos 7 we'll bumpt to that as it's considerably more stable with regard to WAL corruption and recovery.
* add pauses to avoid service restarts from interfering with initial startup ↵Jason DeTiberus2015-07-151-1/+3
| | | | bootstrapping
* Etcd role updates and playbook updatesJason DeTiberus2015-07-101-1/+35
| | | | | | | | | | | | | | | | | | | | | - fix firewall conflict issues with co-located etcd and openshift hosts - added os_firewall dependency to etcd role - updated etcd template to better handle clustered and non-clustered installs - added etcd_ca role - generates a self-signed cert to manage etcd certificates, since etcd peer certificates are required to be client and server certs and the openshift ca will only generate client or server certs (not one authorized for both). - renamed openshift_etcd_certs role to etcd_certificates and updated it to manage certificates generated from the CA managed by the etcd_ca role - remove hard coded etcd_port in openshift_facts - updates for the openshift-etcd common playbook - removed etcd and openshift-etcd playbooks from the byo playbooks directory - added a common playbook for setting etcd launch facts - added an openshift-etcd common service playbook - removed unused variables - fixed tests for embedded_{etcd,dns,kube} in openshift_master - removed old workaround for reloading systemd units
* Add etcd role that builds out basic etcd clusterScott Dodson2015-07-101-0/+16
| | | | | | - Add initial etcd role - Add etcd playbook to create etcd client certs - Hookup master to etcd
* Removed cloud.rb and it's associated libraries as it's no longer used. Also ↵Thomas Wiest2015-05-271-20/+0
| | | | removed etcd role.