summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-etcd
Commit message (Collapse)AuthorAgeFilesLines
* Update etcd scaleup entrypoint includes and use etcd_{hostname,ip} facts for ↵Andrew Butcher2017-08-111-6/+14
| | | | new member registration.
* Merge pull request #3043 from jkhelil/scaleup_etcdScott Dodson2017-08-021-0/+30
|\ | | | | Add etcd scaleup playbook
| * add etcd scaleup playbookjawed2017-06-151-0/+30
| |
* | Shut down masters before taking an etcd backupScott Dodson2017-07-271-20/+20
| |
* | attach leases via the first master only and only onceJan Chaloupka2017-06-281-0/+120
| | | | | | | | | | | | - move openshift-etcd/migrate.yml from byo to common and keep just the entry point - replace std_include with essential plays (e.g. no need to detect openshift version) - delegate the ttl re-attaching to the first master
* | detect etcd service name based on etcd runtime when restartingJan Chaloupka2017-06-201-1/+1
|/
* move etcd upgrade related code into etcd_upgrade roleJan Chaloupka2017-05-181-0/+1
|
* Restructure certificate redeploy playbooksAndrew Butcher2017-02-021-0/+9
|
* Standardize add_host: with name and changed_whenRussell Teague2017-01-251-1/+4
| | | | | | | The add_host: task does not change any data on the host and as practice has been configured to changed_when: False. This commit standardizes that usage in the byo and common playbooks. Additionally, taks names are added to each task to improve troubleshooting.
* YAML LintingRussell Teague2016-12-121-1/+1
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Template with_items for upstream ansible-2.2 compat.Andrew Butcher2016-10-141-1/+1
|
* Refactor etcd certificates roles.Andrew Butcher2016-08-021-113/+4
|
* Set any_errors_fatal for etcd facts play.Andrew Butcher2016-06-281-0/+1
|
* Cleanup various deprecation warnings.Andrew Butcher2016-04-291-2/+2
|
* Use openshift_hostname/openshift_ip values for etcd configuration and ↵Andrew Butcher2016-04-201-3/+5
| | | | certificates.
* Bug 1320829 - Ensure docker installed for factsJason DeTiberus2016-03-311-1/+1
| | | | | | - 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
* Move common common facts to openshift_factsJason DeTiberus2016-03-151-11/+3
| | | | | | | - Prevents roles that need common facts from needing to require openshift_common, which pulls in the openshift binary. - Add dependency on openshift_facts to os_firewall, since it uses openshift.common facts
* Docker role refactorJason DeTiberus2016-03-141-2/+2
| | | | | | | | | | | | | | | - refactors the docker role to push generic config into docker role and wrap openshift specific variables into an openshift_docker role and it's dependent openshift_docker_facts role - adds support for setting --confirm-def-push flag (Resolves https://github.com/openshift/openshift-ansible/issues/1014) - moves docker related facts from common/node roles to a new docker role - renames cli_docker_* role varialbes to openshift_docker-* (maintaining backward compatibility) - update role dependencies to pull in openshift_docker conditionally based on is_containerized - remove playbooks/common/openshift-docker since the docker role is now conditionally included
* Merge pull request #1019 from dgoodwin/etcd-serialBrenton Leanhardt2016-02-021-2/+26
|\ | | | | Install and start one etcd server before the others.
| * Bring first etcd server up before others.Devan Goodwin2015-12-111-2/+26
| | | | | | | | | | | | | | | | | | In faster environments (i.e. all local VMs) etcd nodes could come online at roughly the same time leading to conflicts with self-elections, resulting in a non-functional cluster. To solve we configure the first etcd host by itself, then configure the remaining ones in parallel to keep things as fast as possible.
* | Configure logrotate on atomic.Andrew Butcher2016-01-271-1/+0
| |
* | Install cockpit, logrotate and fluentd unless host is atomic.Andrew Butcher2016-01-261-1/+1
| |
* | Containerization work by @sdodsonScott Dodson2015-12-151-2/+4
| |
* | 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
* | Enforce connection: local and become: no on all localhost playsJason DeTiberus2015-11-302-2/+4
|/
* Replace map with oo_collect to support python-jinja2 <2.7Andrew Butcher2015-11-201-1/+1
|
* Refactor upgrade playbook(s)Jason DeTiberus2015-11-101-0/+2
| | | | | | | | | | | | | - Split playbooks into two, one for 3.0 minor upgrades and one for 3.0 to 3.1 upgrades - Move upgrade playbooks to common/openshift/cluster/upgrades from adhoc - Added a byo wrapper playbooks to set the groups based on the byo conventions, other providers will need similar playbooks added eventually - installer wrapper updates for refactored upgrade playbooks - call new 3.0 to 3.1 upgrade playbook - various fixes for edge cases I hit with a really old config laying around. - fix output of host facts to show connect_to value.
* Add a role that allows logrotate config editing.Troy Dawson2015-08-271-0/+1
| | | | | This role gets called for each type of machine, but if logrotate_scripts is not set, nothing happens.
* Etcd role updates and playbook updatesJason DeTiberus2015-07-103-53/+62
| | | | | | | | | | | | | | | | | | | | | - 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-103-0/+108
- Add initial etcd role - Add etcd playbook to create etcd client certs - Hookup master to etcd