summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/tasks
Commit message (Collapse)AuthorAgeFilesLines
* system_containers: Add openshift_ to other system_container varsSteve Milner2017-06-201-4/+4
|
* system_containers: Add openshift_ to use_system_containers varSteve Milner2017-06-201-4/+4
|
* singletonize some role tasks that repeat a lotLuke Meyer2017-06-061-4/+19
|
* move etcd upgrade related code into etcd_upgrade roleJan Chaloupka2017-05-181-0/+4
|
* Merge pull request #3554 from php-coder/install_python3_pkgOpenShift Bot2017-03-311-0/+6
|\ | | | | Merged by openshift-bot
| * openshift_facts: install python3-dbus package on Fedora nodes.Slava Semushin2017-03-241-0/+6
| |
* | validate and normalize inventory variablesLuke Meyer2017-03-291-2/+1
|/ | | | | | | | | | In openshift_repos and everywhere, ensure deployment_type and openshift_deployment_type are defined and the same. We really want to set openshift_deployment_type, but users will likely still have just deployment_type, so accept both. And don't make every playbook default openshift_deployment_type to deployment_type. This introduces the openshift_sanitize_inventory role to run before anything else.
* openshift_facts: ensure system containers deps are installedGiuseppe Scrivano2017-03-071-0/+9
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Fail on Atomic if docker is too oldSteve Milner2017-03-021-0/+19
| | | | | | | If the docker version on a master or node is under 1.12 and the OS is an Atomic Host variant the installation should fail. Fixes: BZ1425583
* facts/main: Require Python 3 for Fedora, Python 2 everywhere elseColin Walters2017-02-171-0/+12
| | | | | | | | | | For a few reasons; among them that we currently have a dependency on `PyYAML` which on Fedora Atomic Host isn't installed for Python 2 by default. Further, many dependencies are being ported in Fedora to be Python 3. Conversely, ensure that we're using Python 2 everywhere else (which is really CentOS/RHEL), since AFAIK we don't test that path at all, and we really don't need *more* entries in the supported matrix.
* Revert "Add block+when skip to `openshift_facts` tasks"Andrew Butcher2017-02-151-60/+46
| | | | This reverts commit 0b1c1c2c524bfb932ab0e15f63f464673c00e651.
* Ansible Lint cleanup and making filter/lookup plugins used by ↵Jason DeTiberus2017-02-141-2/+4
| | | | openshift_master_facts available within the role
* Add block+when skip to `openshift_facts` tasksTim Bielawa2017-02-141-46/+58
| | | | | * Speed improvements as a side-effect of skipping the tasks in future includes of `openshift_facts`
* etcd: use as system containerGiuseppe Scrivano2017-02-101-0/+2
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* atomic-openshift: install as a system containerGiuseppe Scrivano2017-02-101-0/+7
| | | | | | | | | | | | | | | Use use_system_containers=true in the inventory file alternatively you can select each component as: use_openvswitch_system_container=true use_node_system_container=true use_master_system_container=true system_images_registry holds the registry from where to fetch system containers. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Add required python-six package to installationTim Bielawa2017-01-041-4/+2
| | | | | * Moves package list into a defaults/main.yml file * Closes #3020
* Refactor to use Ansible package moduleRussell Teague2016-11-171-6/+5
| | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Change to allow cni deployments without openshift SDNyfauser2016-11-081-0/+2
| | | | | | | The roles/openshift_facts main task did not pass the cni plugin variable to the later role playbooks. The master.yaml and node.yaml templates did not allow for a cni configuration without either installing openshift sdn or nuage. This change will allow to use os_sdn_network_plugin_name=cni and set openshift_use_openshift_sdn=false for deployments that use a cni plugin that doesn't need and want openshift sdn to be installed
* Move openshift.common.debug.level to openshift_facts.Andrew Butcher2016-10-051-0/+1
|
* Remove atomic check and cockpit.socketSamuel Munilla2016-08-261-1/+1
|
* Add support for Atomic Registry InstallsSamuel Munilla2016-08-261-1/+1
| | | | Add the Registry deployment subtype as an option in the quick installer.
* Check ansible version prior to evaluating cluster hosts and groups.Andrew Butcher2016-07-201-5/+0
|
* Merge pull request #1992 from abutcher/ansible-2Scott Dodson2016-07-181-3/+3
|\ | | | | Require ansible-2.1.0.0+
| * Require ansible-2.1Andrew Butcher2016-07-011-3/+3
| |
* | Move repoquery_cmd fact setting into a more logical place.Devan Goodwin2016-07-111-0/+5
| |
* | Fix rpm installs.Devan Goodwin2016-06-131-1/+0
| |
* | Work towards determining openshift_version when unspecified.Devan Goodwin2016-05-251-0/+1
|/ | | | | | | openshift_docker role was largely useless now, but also almost did what we needed. (deps ordering still needs to be changed) Remove defaulting of openshift_version.
* Ensure yum-utils installed.Andrew Butcher2016-05-191-0/+4
|
* Refactor where we compute no_proxy hostnamesScott Dodson2016-05-171-11/+1
|
* Fix rhel_subscribeScott Dodson2016-05-171-2/+2
|
* Ensure ansible version greater than 1.9.4Andrew Butcher2016-05-051-2/+2
|
* use stat module instead of shell module and ls to check for rpm-ostreeJason DeTiberus2016-04-301-9/+7
|
* Move portal_net from openshift_common to openshift_facts.Andrew Butcher2016-04-261-0/+1
|
* Add global proxy configurationScott Dodson2016-04-221-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | Configures HTTP_PROXY, HTTPS_PROXY, NO_PROXY for master and docker services. Configugres BuildDefaults Admission controller for master to automatically insert proxy environment configuration into build environments. To use set at least these variables - openshift_http_proxy - openshift_https_proxy NO_PROXY entries will automatically be configured for hostnames of all openshift hosts. You may specify additional NO_PROXY hosts or patterns by setting `openshift_no_proxy` If you wish to disable automatic generation of NO_PROXY hosts you may set `openshift_generate_no_proxy_hosts` to False. If you wish to have different builddefaults proxy configuration than baseline proxy configuration set these variables - openshift_builddefaults_http_proxy - openshift_builddefaults_https_proxy - openshift_builddefaults_no_proxy - openshift_builddefaults_git_http_proxy - openshift_builddefaults_git_https_proxy
* Downgrade to docker 1.8.2 if installing OSE < 3.2Scott Dodson2016-04-051-1/+1
|
* 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
* Fall back to deployment_type in openshift_facts.Andrew Butcher2016-03-161-1/+2
|
* Move common common facts to openshift_factsJason DeTiberus2016-03-151-0/+6
| | | | | | | - 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
* Update Docs and test for testing ansible versionJason DeTiberus2016-01-251-7/+5
|
* Validate pacemaker cluster members.Andrew Butcher2016-01-121-0/+1
|
* Fix containerized variableScott Dodson2015-12-151-1/+1
|
* Skip yum/dnf ops when is_containerizedScott Dodson2015-12-151-0/+13
|
* fixesJason DeTiberus2015-12-151-1/+4
|
* Containerization work by @sdodsonScott Dodson2015-12-151-14/+0
|
* Initial containerization work from @ibottyTobias Florek2015-12-151-0/+14
| | | | copied from https://github.com/eparis/kubernetes-ansible/blob/17f98edd7ff53e649b43e26822b8fbc0be42b233/roles/common/tasks/main.yml
* Remove yum / dnf duplicationScott Dodson2015-12-091-10/+1
|
* Fedora changes:Adam Miller2015-12-021-0/+7
| | | | | | | | | | | | | - 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
* remove netaddr dependencyTobias Florek2015-11-111-2/+1
|
* Read etcd data dir from appropriate config file.Devan Goodwin2015-11-091-2/+5
| | | | | | | | | 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.
* Add all the possible servicenames to openshift_all_hostnames for mastersScott Dodson2015-11-031-0/+3
|