summaryrefslogtreecommitdiffstats
path: root/roles/etcd/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6380 from sdodson/oc-admScott Dodson2017-12-071-1/+1
|\ | | | | Remove all uses of openshift.common.admin_binary
| * Remove all uses of openshift.common.admin_binaryScott Dodson2017-12-071-1/+1
| | | | | | | | Replace with `oc adm`
* | Implement container_runtime playbooks and changesMichael Gugino2017-12-071-5/+0
|/ | | | | | This commit refactors some duplicate code, removes usage of set_fact where not needed, and reorganizes container_runtime role to use include_role.
* retry package operationsLuke Meyer2017-11-307-0/+14
| | | | | | 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).
* Remove unused task file from etcd roleRussell Teague2017-11-281-8/+0
|
* fix type in authroizeJan Chaloupka2017-11-281-2/+2
|
* Include Deprecation - openshift-etcdRussell Teague2017-11-2232-47/+46
|
* Cleanup etcd runtime variable.Michael Gugino2017-11-213-4/+80
| | | | Cleaning out reference to etcd_runtime in openshift facts.
* Refactor etcd imageMichael Gugino2017-11-202-3/+3
| | | | Simplify logic for etcd_image
* check presence of v2 snapshot before the migration proceedsJan Chaloupka2017-11-011-0/+11
|
* etcd: remove hacks for the system containerGiuseppe Scrivano2017-10-237-72/+32
| | | | | | Use ADDTL_MOUNTS to add a bind mount to the etcd configuration. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* systemcontainers: Verify atomic.conf proxy is always configuredSteve Milner2017-10-191-0/+5
| | | | | | | | | | | A new openshift_atomic role has been created for atomic specific tasks. The first task added is proxy which handles updating /etc/atomic.conf to ensure the proper proxy configuration is configured. This task file is then included (via include_role) in system container related task files. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1503903 Signed-off-by: Steve Milner <smilner@redhat.com>
* set initial etcd cluster properly during system container scale upJan Chaloupka2017-10-131-0/+1
|
* migrate embedded etcd to external etcdJan Chaloupka2017-10-0619-18/+133
|
* Separate certificate playbooks.Andrew Butcher2017-10-021-2/+0
|
* Merge pull request #5518 from ingvagabund/set-quota-backend-bytes-explicitlyOpenShift Merge Robot2017-09-272-0/+10
|\ | | | | | | | | | | | | 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-262-0/+10
| |
* | Fix typo in drop_etcdctl.ymlMichael Hanselmann2017-09-271-1/+1
| | | | | | | | s/alises/aliases/ says everything.
* | consolidate etcd_common roleJan Chaloupka2017-09-2525-11/+240
|/
* 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-2212-0/+229
| |
* | Consolidate etcd certs rolesJan Chaloupka2017-09-187-0/+462
|/ | | | | | | 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.
* Updated README to reflect refactor. Moved firewall initialize into separate ↵Kenny Woodson2017-08-101-2/+2
| | | | file.
* Adding a default condition and removing unneeded defaults.Kenny Woodson2017-08-091-4/+4
|
* First attempt at refactor of os_firewallKenny Woodson2017-08-082-0/+44
|
* 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.
* 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>
* 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 etcdctl.yml from etcd to etcd_common roleJan Chaloupka2017-05-032-13/+3
|
* Don't double quote when conditionsScott Dodson2017-05-011-1/+1
|
* Refactor etcd rolesJan Chaloupka2017-04-282-62/+56
| | | | | | | | - 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
* Use meta/main.yml for role dependenciesRussell Teague2017-03-271-4/+0
|
* 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-011-3/+43
|\ | | | | Pull request for Contiv Ansible code integration into Openshift Ansible
| * 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 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-102-4/+83
| | | | 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-172-2/+3
| | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Drop /etc/profile.d/etcdctl.shScott Dodson2016-11-142-0/+14
| | | | | 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
|