summaryrefslogtreecommitdiffstats
path: root/roles/etcd
Commit message (Collapse)AuthorAgeFilesLines
* fix typo for default in etcdMichael Gugino2017-10-051-1/+1
|
* Separate certificate playbooks.Andrew Butcher2017-10-021-2/+0
|
* Merge pull request #5518 from ingvagabund/set-quota-backend-bytes-explicitlyOpenShift Merge Robot2017-09-274-0/+14
|\ | | | | | | | | | | | | Automatic merge from submit-queue set the etcd backend quota to 4GB by default Bug: 1492891
| * Set the etcd backend quota to 4GB by defaultJan Chaloupka2017-09-264-0/+14
| |
* | Fix typo in drop_etcdctl.ymlMichael Hanselmann2017-09-271-1/+1
| | | | | | | | s/alises/aliases/ says everything.
* | consolidate etcd_common roleJan Chaloupka2017-09-2529-16/+597
|/
* Merge pull request #5451 from ingvagabund/consolidate-etcd-upgradeOpenShift Merge Robot2017-09-254-0/+91
|\ | | | | | | | | | | | | Automatic merge from submit-queue Consolidate etcd upgrade Consolidates `etcd_upgrade` into the `etcd` role.
| * consolidate etcd_upgrade roleJan Chaloupka2017-09-214-0/+91
| |
* | consolidate etcd_migrate roleJan Chaloupka2017-09-2213-0/+230
| |
* | Consolidate etcd certs rolesJan Chaloupka2017-09-189-1/+513
|/ | | | | | | 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.
* update env in etcd.conf.j2 to reflect the latest namingJan Chaloupka2017-08-311-3/+23
|
* Added firwall defaults to etcd role.Kenny Woodson2017-08-301-2/+2
|
* Updated README to reflect refactor. Moved firewall initialize into separate ↵Kenny Woodson2017-08-102-2/+5
| | | | file.
* Adding a default condition and removing unneeded defaults.Kenny Woodson2017-08-092-6/+4
|
* First attempt at refactor of os_firewallKenny Woodson2017-08-084-6/+56
|
* Merge pull request #3043 from jkhelil/scaleup_etcdScott Dodson2017-08-021-11/+7
|\ | | | | Add etcd scaleup playbook
| * add etcd scaleup playbookjawed2017-06-151-11/+7
| |
* | Fix etcd conditional check failureMarc Rooding2017-07-071-1/+2
| |
* | drop etcdctl before the etcd_container serviceJan Chaloupka2017-07-042-7/+7
| | | | | | | | | | 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.
* | etcd, syscontainer: fix copy of existing datastoreGiuseppe Scrivano2017-07-031-2/+5
| | | | | | | | | | | | Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1466638 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | run etcd_container with type:spc_t labelJan Chaloupka2017-06-301-1/+1
| |
* | etcd, system_container: do not mask etcd_containerGiuseppe Scrivano2017-06-201-1/+8
| | | | | | | | | | | | Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1462087 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | etcd, system_container: do not enable system etcdGiuseppe Scrivano2017-06-201-2/+2
|/ | | | | | | if etcd is installed and it is not the system container, only unmask the service but do not enable it. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* move etcd backup to etcd_common roleJan Chaloupka2017-06-141-1/+2
|
* etcd: system container defines ETCD_(PEER_)?TRUSTED_CA_FILEGiuseppe Scrivano2017-06-081-0/+2
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* etcd: unmask system container service before installing itGiuseppe Scrivano2017-06-081-0/+26
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* etcd: copy previous database when migrating to system containerGiuseppe Scrivano2017-06-081-0/+24
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* move etcd upgrade related code into etcd_upgrade roleJan Chaloupka2017-05-181-6/+0
|
* Update systemd units to use proper container service nameSteve Milner2017-05-091-4/+4
| | | | | | | - If using a system container: container-engine - If using a package install: docker Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1448800
* move etcdctl.yml from etcd to etcd_common roleJan Chaloupka2017-05-033-25/+3
|
* Don't double quote when conditionsScott Dodson2017-05-011-1/+1
|
* Refactor etcd rolesJan Chaloupka2017-04-287-76/+71
| | | | | | | | - 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
* Revert "Add /etc/sysconfig/etcd to etcd_container"Scott Dodson2017-04-251-1/+1
|
* Add /etc/sysconfig/etcd to etcd_containerFabio Alessandro Locati2017-04-191-1/+1
| | | | | | | The `/etc/sysconfig/etcd` file is often used to allow the usage of additional variables passed to the etcd daemon. Example of this is to make some new nodes join an existing cluster. Having two files simplify the automation around it, since in the `/etc/sysconfig/etcd` is possible to put temporary variables and then nuke the file as soon as they are not used anymore.
* Cast etcd_debug to a booleanSteve Kuznetsov2017-04-131-1/+1
| | | | | | | | | | | In the current implementation, any user-provided string in the `etcd_debug` variable will be placed into `etcd.conf`. The YAML and Ansible boolean parsing is more generous than the Golang one, so valid YAML booleans like `no` will be invalid when passed to etcd. Casting to a boolean before casting to a string normalizes the field. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
* Add etcd_debug and etcd_log_package_levels variablesScott Dodson2017-03-281-0/+6
|
* Use meta/main.yml for role dependenciesRussell Teague2017-03-272-4/+1
|
* add ability to specify an etcd versionMark McKinstry2017-03-082-2/+2
|
* Only set ownership to etcd for thirdparty datadirScott Dodson2017-03-021-1/+8
| | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1428532
* Merge pull request #3393 from srampal/contivScott Dodson2017-03-014-4/+58
|\ | | | | Pull request for Contiv Ansible code integration into Openshift Ansible
| * Combined (squashed) commit for all changes related to adding Contiv support ↵Sanjeev Rampal2017-02-274-4/+58
| | | | | | | | 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 the new oc_atomic_container moduleGiuseppe Scrivano2017-02-281-47/+25
|/ | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* etcd: use as system containerGiuseppe Scrivano2017-02-103-5/+84
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Merge pull request #2876 from dustymabe/dusty-fix-etcd-selinuxScott Dodson2016-11-291-1/+1
|\ | | | | fix selinux issues with etcd container
| * fix selinux issues with etcd containerDusty Mabe2016-11-281-1/+1
| | | | | | | | | | | | | | | | | | Make it so that we don't relabel /etc/etcd/ (via `:z`) on every run. Doing this causes systemd to fail accessing /etc/etcd/etcd.conf when trying to run the systemd unit file on the next run. Convert it from `:z` to `:ro` since we only need read-only access to the files. Fixes #2811
* | Refactored to use Ansible systemd moduleRussell Teague2016-11-284-24/+15
|/ | | | | | * 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-172-2/+3
| | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Add updates for containerizedScott Dodson2016-11-141-0/+11
|
* Drop /etc/profile.d/etcdctl.shScott Dodson2016-11-143-0/+25
| | | | | 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
|