summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc
Commit message (Collapse)AuthorAgeFilesLines
* Add extra parameters for S3 registry: delete file, create bucket.Hugo Rosnet2016-02-181-0/+4
| | | | | | | | | It would be nice to have options to be able to: * Delete or not the temporary config file - so that it can be check/modified directly * Create or not the bucket, as you might not have the right to do so This commit allows both of those things, without changing the default behavior of the playbook.
* Merge pull request #1387 from talset/atomic_uninstallBrenton Leanhardt2016-02-161-0/+7
|\ | | | | Change etcd deamon name for atomic-host in playbooks/adhoc/uninstall.yml
| * Change etcd deamon name for atomic-hosttalset2016-02-131-0/+7
| | | | | | | | | | | | * Update playbooks/adhoc/uninstall.yml * Etcd run into a container on atomic-host and his name is etcd_container. We have to stop the container with the right name on atomic host
* | Fix adhoc boostrap fedora playbookJason DeTiberus2016-02-121-1/+0
|/
* renamed /etc/openshift to /etc/originSten Turpin2016-02-041-1/+1
|
* Merge pull request #1303 from talset/s3_registry_clusteridStefanie Forrester2016-02-011-1/+1
|\ | | | | s3_registry no filter named 'lookup'
| * s3_registry no filter named 'lookup'talset2016-01-291-1/+1
| | | | | | | | | | | | | | * Added a default function for the lookup. * According to [1] added default(,true) to avoid empty string [1] https://github.com/openshift/openshift-ansible/blob/master/docs/best_practices_guide.adoc#filters
* | changed adhoc playbook to match new host monitoring containerMatt Woodson2016-02-011-1/+1
|/
* Merge pull request #1264 from gaelL/s3_registry_templateStefanie Forrester2016-01-281-0/+3
|\ | | | | adhoc s3 registry - add auth part in the registry config sample
| * adhoc s3 registry - add auth part in the registry config samplegaelL2016-01-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | Without the auth part, after spawning the registry we were not able to do an auth. ``` docker login -u .. -p ... 172.30.234.98:5000 Error response from daemon: no successful auth challenge forhttp://172.30.234.98:5000/v2/ - errors: [] ``` Simply adding this part in the registry config sample
* | Allow to have custom bucket name and regiontalset2016-01-282-4/+6
|/ | | | | | | | | | File playbooks/adhoc/s3_registry/s3_registry* To be able to use a different bucket name and region, aws_bucket and aws_region are now available * Add variable for region and bucket into j2 * Update comment Usage * Add default aws_bucket_name and aws_bucket_region
* Merge pull request #1212 from mwoodson/zagg_clientMatt Woodson2016-01-181-2/+2
|\ | | | | new role: added oso_moniotoring tools role
| * added oso_moniotoring tools roleMatt Woodson2016-01-181-2/+2
| |
* | Host group should be OSEv3 not OSv3Donovan Muller2016-01-181-1/+1
| | | | | | Following on from #1107 the host group's name is OSEv3 and not OSv3
* | Uninstall remove containerized wrapper and symlinksAndrew Butcher2016-01-141-0/+4
|/
* playbook for restarting SDNJoel Diaz2016-01-051-0/+53
|
* Stop haproxy and remove package during uninstall.Andrew Butcher2016-01-051-0/+2
|
* Removing environment and env tags.Kenny Woodson2016-01-045-8/+28
|
* Containerization work by @sdodsonScott Dodson2015-12-151-3/+29
|
* Merge pull request #1028 from kwoodson/remove_env_host_typeKenny Woodson2015-12-144-8/+8
|\ | | | | Removing env-host-type in preparation of env and environment changes.
| * Updating env-host-type to host patternsKenny Woodson2015-12-114-8/+8
| |
* | Merge pull request #1000 from detiber/localhostFixThomas Wiest2015-12-106-4/+18
|\ \ | | | | | | Enforce connection: local and become: no on all localhost plays
| * | Enforce connection: local and become: no on all localhost playsJason DeTiberus2015-11-306-4/+18
| | |
* | | Remove yum / dnf duplicationScott Dodson2015-12-091-36/+2
| | |
* | | Remove hacluster user during uninstall.Andrew Butcher2015-12-091-0/+2
| |/ |/|
* | Fedora changes:Adam Miller2015-12-022-1/+38
|/ | | | | | | | | | | | | - 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
* Uninstall: only restart docker on node hosts.Andrew Butcher2015-11-251-0/+3
|
* Making the uninstall playbook more flexibleBrenton Leanhardt2015-11-191-5/+5
| | | | | This handles stage environments as well as the eventual change of aep3_beta to aep3
* Uninstall - Remove systemd wants file for nodeJason DeTiberus2015-11-181-0/+1
|
* Add the native ha services and configs to uninstallJason DeTiberus2015-11-161-1/+15
|
* Refactor upgrade playbook(s)Jason DeTiberus2015-11-108-783/+0
| | | | | | | | | | | | | - 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 origin-clients to uninstall playbook.Andrew Butcher2015-11-101-1/+2
|
* Add separate step to enable services during upgrade.Devan Goodwin2015-11-101-3/+19
| | | | | Instead of combining this with tasks to restart services, add a separate started+enabled play for masters and nodes at the end of the playbook.
* 1279734: Ensure services are enabled after upgrade.Devan Goodwin2015-11-101-4/+4
| | | | | | With the openshift to atomic-openshift renames, some services were not enabled after upgrade. Added enabled directives to all service restart lines in the upgrade playbook.
* Merge pull request #848 from dgoodwin/drop-302-reqBrenton Leanhardt2015-11-091-4/+1
|\ | | | | Remove upgrade playbook restriction on 3.0.2.
| * Remove upgrade playbook restriction on 3.0.2.Devan Goodwin2015-11-091-4/+1
| | | | | | | | | | This is blocking 3.0.1 upgrades to 3.1 incorrectly, which is a scenario we should support.
* | Read etcd data dir from appropriate config file.Devan Goodwin2015-11-091-1/+1
|/ | | | | | | | | Rather than assuming the etcd data dir, we now read if from master-config.yaml if using embedded etcd, otherwise from etcd.conf. Doing so now required use of PyYAML to parse config file when gathering facts. Fixed discrepancy with data_dir fact and openshift-enterprise deployment_type.
* Fix indentation on whenJason DeTiberus2015-11-061-1/+1
|
* Merge remote-tracking branch 'dgoodwin/pre-upgrade' into upgradeFix2Jason DeTiberus2015-11-062-7/+12
|\
| * Minor upgrade improvements.Devan Goodwin2015-11-062-7/+12
| | | | | | | | | | | | | | Skip some 3.1 checks if doing a 3.0.x to 3.0.2 upgrade. Improve error message when oc whoami fails (i.e. openshift is down) during pre-upgrade checks, rather than assuming the binary doesn't exist.
* | Wait for cluster to recover after pcs resource restart.Andrew Butcher2015-11-061-0/+8
|/
* remove debug statementJason DeTiberus2015-11-061-2/+0
|
* Fix removal of kubernetesMasterConfig.apiLevelsJason DeTiberus2015-11-061-1/+1
|
* Fix issues related to upgrade packages being unavailableJason DeTiberus2015-11-062-6/+16
|
* Merge pull request #51 from dgoodwin/pre-upgradeJason DeTiberus2015-11-061-1/+4
|\ | | | | Pre upgrade
| * Fix creation of origin symlink when dir already exists.Devan Goodwin2015-11-061-1/+4
| |
* | Merge remote-tracking branch 'origin/upgradeFix2' into upgradeFix2Jason DeTiberus2015-11-062-3/+243
|\ \
| * | Merge pull request #50 from dgoodwin/pre-upgradeJason DeTiberus2015-11-062-0/+192
| |\| | | | | | | Run pre-upgrade script on nodes
| | * Add pre-upgrade script to be run on first master.Devan Goodwin2015-11-062-0/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Script currently just checks for port names that are no longer valid. In theory other checks may be added to this script in the future. Script was originally written by Steve Milner and Andy Goldstein. If the script fails, ansible seems to handle this nicely by default, exiting the upgrade and displaying stderr and stdout, both of which contain useful info on what the problem was.
| * | Start to handle pacemaker ha during upgradeAndrew Butcher2015-11-061-3/+51
| |/