summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall/openshift_ansible.py
Commit message (Collapse)AuthorAgeFilesLines
* Quick installer: run prerequistes first and update path to main playbookVadim Rutkovsky2018-02-071-1/+16
|
* [1506750] Ensure proper hostname check overrideRussell Teague2018-01-221-1/+1
|
* Quick installer: deprecate upgradesVadim Rutkovsky2018-01-191-18/+0
| | | | | Output a link to manual deprecate docs when `atomic-openshift-installer upgrade` is called
* Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher2017-12-051-2/+0
| | | | | | | openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
* Playbook Consolidation - openshift-nodeRussell Teague2017-11-211-1/+1
|
* fix BZ1422541 on master branchWenkai Shi2017-04-071-0/+2
|
* Hush the sudo privs check in oo-installerTim Bielawa2017-01-041-1/+1
| | | | | | | * Don't print words when checking for sudo access * Just 'echo' an empty string with no new-line Closes #3003
* python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus2016-12-201-9/+11
| | | | versions
* Enable quiet output for all a-o-i commandsTim Bielawa2016-11-101-0/+8
| | | | | | | * Update: uninstall, upgrade, scaleup wf's * Verbosity can be toggled with -v flag, as before https://bugzilla.redhat.com/show_bug.cgi?id=1384294
* a-o-i: Separate install and scaleup workflowsSamuel Munilla2016-10-201-6/+3
| | | | | | | In order to simplify the quick installer logic, this moves the scaleup workflow into its own subcommand. Fixes: Bug 1339621
* a-o-i: Fix openshift_node_labelsSamuel Munilla2016-09-301-1/+3
| | | | | Handle openshift_node_labels separately because they need to be doublequoted.
* a-o-i: Allow better setting of host level variablesSamuel Munilla2016-09-291-14/+13
| | | | | Allow the user to set arbitrary variables directly under the host item instead of in under an 'other_variables' item.
* 'fix' unittests by removing the users ability to specify an ansible configTim Bielawa2016-09-291-1/+2
|
* Fix conflicts in spec fileTim Bielawa2016-09-291-2/+14
|
* Merge pull request #2367 from tbielawa/FixNewerPyLintErrorsAndrew Butcher2016-09-011-2/+3
|\ | | | | Fix PyLint errors discovered when upgrading to newer version
| * Fix PyLint errors discovered when upgrading to newer versionTim Bielawa2016-08-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes PyLint to run in the virtualenv used for all tests * Replaced 'LooseVersion' with 'parse_version' from setuptools - This is a work around for the issue in https://github.com/PyCQA/pylint/issues/73 in which pylint can not import disutils.version correctly in a virtualenv. * Removed the unused function 'delete_hosts' which was causing a pylint error as well * Removed a deprecated pylint pragma option, 'bad-builtin' * Fixed some import ordering issues it was picky about * Added another disable for a case where the PyLint suggestion would have us altering the container we would be iterating over * Add code-coverage reports to the unittests with the MINIMUM coverage percentage for success set to 70% - Current test coverage is at 76%
* | Remove atomic check and cockpit.socketSamuel Munilla2016-08-261-3/+0
| |
* | Add support for Atomic Registry InstallsSamuel Munilla2016-08-261-0/+6
|/ | | | Add the Registry deployment subtype as an option in the quick installer.
* Apply indentation changes to some other linesTim Bielawa2016-08-261-4/+4
| | | | Closes #2363
* Fix PEP8 in openshift_ansible.pyTim Bielawa2016-08-251-18/+20
|
* Fix BZ1368296 by quietly recollecting facts if the cache is removedTim Bielawa2016-08-241-0/+10
| | | | | * Add python logging * Add testing system via 'make ci'
* a-o-i: Fix broken upgradesSamuel Munilla2016-08-121-2/+2
| | | | | | | Upgrade was looking for the hosts in the old location. Quick fix to get it looking in the correct location. Fixes BZ#1357627.
* Merge pull request #2278 from smunilla/BZ1353162Scott Dodson2016-08-091-3/+1
|\ | | | | a-o-i: Move ansible_ssh_user to deployment
| * move ansible_ssh_user to deployment, remove ansible_config and ansible_log_pathGan Huang2016-08-091-3/+1
| |
* | Labeling nodes onlyGan Huang2016-08-091-1/+2
|/
* a-o-i: Fix broken uninstallSamuel Munilla2016-08-021-2/+2
| | | | | | | | The uninstall method was looking for the host list according to the old quick-installer config file format. Updated to match the new arbitrary yaml config format. Fixes BZ#1359427
* a-o-i: Better inventory group handlingSamuel Munilla2016-07-291-66/+42
| | | | | | | | | | A more dynamic and flexible method of writing out host groups to the ansible inventory file. To accompany this, in the quick-installer interactive mode the etcd role is automatically applied to any masters. Anyone hand writing the quick installer config will now have to explicitly specify which hosts will be etcd. Fixes #2200
* Disable too many branches pylintScott Dodson2016-07-271-0/+1
|
* a-o-i: write missing openshift_node_labelsdkorn2016-07-271-0/+2
|
* Merge pull request #2228 from smunilla/arbitrary_host_varsScott Dodson2016-07-271-0/+4
|\ | | | | a-o-i: Support for arbitrary host-level variables
| * a-o-i: Support for arbitrary host-level variablesSamuel Munilla2016-07-271-0/+4
| | | | | | | | | | This allows the user to set a block containing any variables they want to set per-host instead of per-role.
* | a-o-i: Move inventory vars to the correct locationSamuel Munilla2016-07-271-16/+18
|/ | | | | | Several variables such as 'deployment_type' and 'ansible_config' were being set under a variable group for the last defined role instead of under OSEv3:vars.
* a-o-i: Write Role variable groupsSamuel Munilla2016-07-201-1/+2
| | | | | Correct an error in the way we're writing out the variable group tags for host roles.
* Arbitrary Installer yamlSamuel Munilla2016-07-181-22/+64
| | | | Initial build of new, more flexible installer config file format.
* a-o-i: Write proxy variablesSamuel Munilla2016-05-101-0/+10
| | | | Write the proper variables for http(s) and proxy excludes to the ansible inventory.
* Merge pull request #1765 from smunilla/proxy_uiJason DeTiberus2016-04-261-1/+2
|\ | | | | a-o-i: UI additions for proxies
| * a-o-i: UI additions for proxiesSamuel Munilla2016-04-181-1/+2
| |
* | Replace deprecated sudo with become.Andrew Butcher2016-04-251-2/+2
|/
* a-o-i: Support openshift_image_tagSamuel Munilla2016-04-081-1/+3
| | | | | | Somewhat hacky solution to let users install containerized 3.1. A more flexible version will be forthcoming once we settle tagging issues.
* Merge pull request #1654 from dgoodwin/gen-inventoryBrenton Leanhardt2016-04-051-2/+1
|\ | | | | Add --gen-inventory command to atomic-openshift-installer.
| * Add --gen-inventory command to atomic-openshift-installer.Devan Goodwin2016-03-241-2/+1
| | | | | | | | | | | | | | | | This will just generate the Ansible inventory once all information is gathered, inform the user where to find it, and exit. Includes some test utility updates to make what broke as a result of this change less fragile.
* | a-o-i: Add 3.2 to list of supported versionsSamuel Munilla2016-03-231-12/+4
|/
* Updating the docker registry variables to use the new nameBrenton Leanhardt2016-03-141-2/+2
|
* First attempt at NFS setupSamuel Munilla2016-03-091-4/+16
|
* a-o-i: Rename osm_default_subdomainSamuel Munilla2016-02-261-1/+1
| | | | | Rename osm_default_subdomain to openshift_master_default_subdomain to match PR1495.
* Merge pull request #1337 from abutcher/master-scaleupBrenton Leanhardt2016-02-221-1/+1
|\ | | | | Support for adding new masters
| * Re-arrange scaleup playbooks.Andrew Butcher2016-02-161-1/+1
| |
* | a-o-i: pylint fixes related to too-long linesSamuel Munilla2016-02-161-3/+6
|/
* a-o-i: Prompts to allow minor upgradesSamuel Munilla2016-02-121-3/+9
| | | | | Updates to the upgrade command to allow the user to select a minor upgrade.
* aoi: Safer check for master_routingconfig_subdomainSamuel Munilla2016-02-041-1/+1
|