summaryrefslogtreecommitdiff
path: root/roles/openshift_facts/tasks
AgeCommit message (Collapse)Author
2017-08-04Removing tasks from module openshift_facts.Kenny Woodson
2017-08-03cri-o: skip Docker version testGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-06-20system_containers: Add openshift_ to other system_container varsSteve Milner
2017-06-20system_containers: Add openshift_ to use_system_containers varSteve Milner
2017-06-06singletonize some role tasks that repeat a lotLuke Meyer
2017-05-18move etcd upgrade related code into etcd_upgrade roleJan Chaloupka
2017-03-31Merge pull request #3554 from php-coder/install_python3_pkgOpenShift Bot
Merged by openshift-bot
2017-03-29validate and normalize inventory variablesLuke Meyer
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.
2017-03-24openshift_facts: install python3-dbus package on Fedora nodes.Slava Semushin
2017-03-07openshift_facts: ensure system containers deps are installedGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-03-02Fail on Atomic if docker is too oldSteve Milner
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
2017-02-17facts/main: Require Python 3 for Fedora, Python 2 everywhere elseColin Walters
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.
2017-02-15Revert "Add block+when skip to `openshift_facts` tasks"Andrew Butcher
This reverts commit 0b1c1c2c524bfb932ab0e15f63f464673c00e651.
2017-02-14Ansible Lint cleanup and making filter/lookup plugins used by ↵Jason DeTiberus
openshift_master_facts available within the role
2017-02-14Add block+when skip to `openshift_facts` tasksTim Bielawa
* Speed improvements as a side-effect of skipping the tasks in future includes of `openshift_facts`
2017-02-10etcd: use as system containerGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-02-10atomic-openshift: install as a system containerGiuseppe Scrivano
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>
2017-01-04Add required python-six package to installationTim Bielawa
* Moves package list into a defaults/main.yml file * Closes #3020
2016-11-17Refactor to use Ansible package moduleRussell Teague
The Ansible package module will call the correct package manager for the underlying OS.
2016-11-08Change to allow cni deployments without openshift SDNyfauser
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
2016-10-05Move openshift.common.debug.level to openshift_facts.Andrew Butcher
2016-08-26Remove atomic check and cockpit.socketSamuel Munilla
2016-08-26Add support for Atomic Registry InstallsSamuel Munilla
Add the Registry deployment subtype as an option in the quick installer.
2016-07-20Check ansible version prior to evaluating cluster hosts and groups.Andrew Butcher
2016-07-18Merge pull request #1992 from abutcher/ansible-2Scott Dodson
Require ansible-2.1.0.0+
2016-07-11Move repoquery_cmd fact setting into a more logical place.Devan Goodwin
2016-07-01Require ansible-2.1Andrew Butcher
2016-06-13Fix rpm installs.Devan Goodwin
2016-05-25Work towards determining openshift_version when unspecified.Devan Goodwin
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.
2016-05-19Ensure yum-utils installed.Andrew Butcher
2016-05-17Refactor where we compute no_proxy hostnamesScott Dodson
2016-05-17Fix rhel_subscribeScott Dodson
2016-05-05Ensure ansible version greater than 1.9.4Andrew Butcher
2016-04-30use stat module instead of shell module and ls to check for rpm-ostreeJason DeTiberus
2016-04-26Move portal_net from openshift_common to openshift_facts.Andrew Butcher
2016-04-22Add global proxy configurationScott Dodson
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
2016-04-05Downgrade to docker 1.8.2 if installing OSE < 3.2Scott Dodson
2016-03-31Bug 1320829 - Ensure docker installed for factsJason DeTiberus
- 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
2016-03-16Fall back to deployment_type in openshift_facts.Andrew Butcher
2016-03-15Move common common facts to openshift_factsJason DeTiberus
- 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
2016-01-25Update Docs and test for testing ansible versionJason DeTiberus
2016-01-12Validate pacemaker cluster members.Andrew Butcher
2015-12-15Fix containerized variableScott Dodson
2015-12-15Skip yum/dnf ops when is_containerizedScott Dodson
2015-12-15fixesJason DeTiberus
2015-12-15Containerization work by @sdodsonScott Dodson
2015-12-15Initial containerization work from @ibottyTobias Florek
copied from https://github.com/eparis/kubernetes-ansible/blob/17f98edd7ff53e649b43e26822b8fbc0be42b233/roles/common/tasks/main.yml
2015-12-09Remove yum / dnf duplicationScott Dodson
2015-12-02Fedora changes:Adam Miller
- 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
2015-11-11remove netaddr dependencyTobias Florek