summaryrefslogtreecommitdiffstats
path: root/roles/openshift_repos
Commit message (Collapse)AuthorAgeFilesLines
* Remove openshift_repos dependenciesRussell Teague2017-08-161-15/+0
|
* Support enabling the centos-openshift-origin-testing repositoryDavid Moreau-Simard2017-07-232-1/+6
| | | | | | | | New versions of Origin land in the -testing repository before they are tagged for release. This effectively adds the ability to easily test a new unreleased version (currently in this case 1.5.1) by enabling the correct repository if 'openshift_repos_enable_testing' is true.
* singletonize some role tasks that repeat a lotLuke Meyer2017-06-061-26/+26
|
* Fix gpg key path in our repoScott Dodson2017-05-171-1/+1
|
* Don't set-up origin repositories if they've already been configuredDavid Moreau-Simard2017-05-151-2/+6
| | | | | | | | | | | CentOS ships the 'centos-release-openshift-origin' package which is used to set up the repository and the key. If this package has been installed prior to running openshift-ansible (i.e, to install ansible or openshift-ansible from RPM), it leads to the repository being set up twice in different files. We're now matching the name of the files and since they are identical, it will stay idempotent while not configuring the repositories twice.
* Ensure repo cache is clean on the first runRussell Teague2017-05-031-0/+17
| | | | | | The openshift_repos role is modified to clean the repo cache on first run to ensure a clean cache in the situation where the repo files have been changed manually, such as just prior to upgrades.
* Update deployment_type documentationRodolfo Carvalho2017-04-111-4/+4
|
* validate and normalize inventory variablesLuke Meyer2017-03-293-12/+2
| | | | | | | | | | 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.
* Revert "Add centos paas sig common"Scott Dodson2017-02-241-7/+0
| | | | This reverts commit 7a16f20b936546f47df87662c78f7fe12e75fe85.
* Add centos paas sig commonScott Dodson2017-02-171-0/+7
|
* Disentangle openshift_repos from openshift_factsScott Dodson2017-02-172-43/+39
|
* Fix repo defaultsScott Dodson2017-01-061-2/+2
|
* Merge pull request #3033 from abutcher/openshift-enable-origin-repoScott Dodson2017-01-051-2/+2
|\ | | | | Cast openshift_enable_origin_repo to bool.
| * Cast openshift_enable_origin_repo to bool.Andrew Butcher2017-01-041-2/+2
| |
* | Enable repos defined in openshift_additional_repos by defaultScott Dodson2017-01-041-2/+2
|/ | | | Fixes #3025
* YAML LintingRussell Teague2016-12-121-1/+1
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Refactor to use Ansible package moduleRussell Teague2016-11-171-1/+1
| | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Allow users to disable the origin repo creationScott Dodson2016-11-171-0/+2
|
* Suppress more warnings.Andrew Butcher2016-09-281-0/+4
|
* fix duplicate src fieldJason DeTiberus2016-08-241-1/+0
|
* simplify repo configurationJason DeTiberus2016-08-2411-78/+9
|
* remove fedora origin copr (it's in mainline fedora now), some dnf/yum clean upAdam Miller2016-08-241-8/+0
| | | | Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
* Revert "Due to problems with with_fileglob lets avoid using it for now"Scott Dodson2016-08-233-2/+2
|
* Due to problems with with_fileglob lets avoid using it for nowScott Dodson2016-08-183-2/+2
|
* with_fileglob no longer supports wildcard prefixes.Andrew Butcher2016-08-085-3/+13
|
* Fix gpg key pathScott Dodson2016-07-111-5/+4
|
* Rename things to avoid conflicts with paas sig release rpmsScott Dodson2016-07-082-0/+0
|
* Don't special case origin on centosScott Dodson2016-07-074-24/+0
| | | | | Just install the centos paas sig repo whenever asked for origin on RHEL or Centos
* Add CentOS PaaS SIG repos for RHELScott Dodson2016-07-064-1/+63
|
* switch to using sig release packagesJason DeTiberus2016-05-263-9/+20
|
* temporarily disable gpg checking until we have a way to cleanly enable itJason DeTiberus2016-05-261-1/+1
|
* Switch to using CentOS SIG repos for Origin installsJason DeTiberus2016-05-262-0/+5
|
* First past at the upgrade processBrenton Leanhardt2016-03-031-6/+7
|
* Add quotes around src argument to support paths with spacesDavid Mat2016-02-231-4/+4
|
* Skip yum/dnf ops when is_containerizedScott Dodson2015-12-151-2/+2
|
* Containerization work by @sdodsonScott Dodson2015-12-151-7/+8
|
* Initial containerization work from @ibottyTobias Florek2015-12-151-3/+7
| | | | copied from https://github.com/eparis/kubernetes-ansible/blob/17f98edd7ff53e649b43e26822b8fbc0be42b233/roles/common/tasks/main.yml
* Remove yum / dnf duplicationScott Dodson2015-12-092-22/+10
|
* Fedora changes:Adam Miller2015-12-023-9/+46
| | | | | | | | | | | | | - 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
* Update openshift_repos to refresh package cache on changesJason DeTiberus2015-11-242-0/+8
|
* Various HA changes for pacemaker and native methods.Andrew Butcher2015-11-051-1/+1
|
* Atomic Enterprise related changes.Avesh Agarwal2015-08-261-1/+6
|
* Replace outdated beta repo ids with 3.0 releaseTakayoshi Kimura2015-07-171-1/+1
|
* update repo to real ose releaseTroy Dawson2015-07-081-3/+3
|
* Switch to beta4 for onlineTroy Dawson2015-06-081-4/+4
|
* More repo cleanupJason DeTiberus2015-04-224-124/+0
| | | | | - remove previously removed repo files from disk if they still exist - remove gpg keys that are no longer referenced
* Remove duplicated repos and fix enterprise-v3 repoWesley Hearn2015-04-223-44/+1
|
* Update online v3 repo fileJason DeTiberus2015-04-213-6/+9
|
* Configuration updates for latest builds and major refactorJason DeTiberus2015-04-1412-23/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuration updates for latest builds - Switch to using create-node-config - Switch sdn services to use etcd over SSL - This re-uses the client certificate deployed on each node - Additional node registration changes - Do not assume that metadata service is available in openshift_facts module - Call systemctl daemon-reload after installing openshift-master, openshift-sdn-master, openshift-node, openshift-sdn-node - Fix bug overriding openshift_hostname and openshift_public_hostname in byo playbooks - Start moving generated configs to /etc/openshift - Some custom module cleanup - Add known issue with ansible-1.9 to README_OSE.md - Update to genericize the kubernetes_register_node module - Default to use kubectl for commands - Allow for overriding kubectl_cmd - In openshift_register_node role, override kubectl_cmd to openshift_kube - Set default openshift_registry_url for enterprise when deployment_type is enterprise - Fix openshift_register_node for client config change - Ensure that master certs directory is created - Add roles and filter_plugin symlinks to playbooks/common/openshift-master and node - Allow non-root user with sudo nopasswd access - Updates for README_OSE.md - Update byo inventory for adding additional comments - Updates for node cert/config sync to work with non-root user using sudo - Move node config/certs to /etc/openshift/node - Don't use path for mktemp. addresses: https://github.com/openshift/openshift-ansible/issues/154 Create common playbooks - create common/openshift-master/config.yml - create common/openshift-node/config.yml - update playbooks to use new common playbooks - update launch playbooks to call update playbooks - fix openshift_registry and openshift_node_ip usage Set default deployment type to origin - openshift_repo updates for enabling origin deployments - also separate repo and gpgkey file structure - remove kubernetes repo since it isn't currently needed - full deployment type support for bin/cluster - honor OS_DEPLOYMENT_TYPE env variable - add --deployment-type option, which will override OS_DEPLOYMENT_TYPE if set - if neither OS_DEPLOYMENT_TYPE or --deployment-type is set, defaults to origin installs Additional changes: - Add separate config action to bin/cluster that runs ansible config but does not update packages - Some more duplication reduction in cluster playbooks. - Rename task files in playbooks dirs to have tasks in their name for clarity. - update aws/gce scripts to use a directory for inventory (otherwise when there are no hosts returned from dynamic inventory there is an error) libvirt refactor and update - add libvirt dynamic inventory - updates to use dynamic inventory for libvirt
* openshift_facts role/module refactor default settingsJason DeTiberus2015-04-033-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add openshift_facts role and module - Created new role openshift_facts that contains an openshift_facts module - Refactor openshift_* roles to use openshift_facts instead of relying on defaults - Refactor playbooks to use openshift_facts - Cleanup inventory group_vars - Update defaults - update openshift_master role firewall defaults - remove etcd peer port, since we will not be supporting clustered embedded etcd - remove 8444 since console now runs on the api port by default - add 8444 and 7001 to disabled services to ensure removal if updating - Add new role os_env_extras_node that is a subset of the docker role - previously, we were starting/enabling docker which was causing issues with some installations - Does not install or start docker, since the openshift-node role will handle that for us - Only adds root to the dockerroot group - Update playbooks to use ops_env_extras_node role instead of docker role - os_firewall bug fixes - ignore ip6tables for now, since we are not configuring any ipv6 rules - if installing package do a daemon-reload before starting/enabling service - Add aws support to bin/cluster - Add list action to bin/cluster - Add update action to bin/cluster - cleanup some stray debug statements - some variable renaming for clarity