summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-01Remove reading shell environment in rhel_subscribeTomas Sedovic
The rhel_subscribe role used to read the shell environment variables for its input with a broken fallback to Ansible variables. This updates the role to only use Ansible vars. If the user wants to do an env lookup, they can do so when calling the role.
2017-11-30retry package operationsLuke Meyer
When a package install/update fails due to network blips or other spotty availability, retry it. If the failure is a real failure (e.g. package is really not there) it still fails after 3 tries (Ansible default).
2017-11-30Add v3.9 supportScott Dodson
2017-11-30Playbook Consolidation - openshift-loggingRussell Teague
2017-11-30Do not escalate privileges in jks generation tasksirozzo
2017-11-30Merge pull request #6282 from mtnbikenc/fix-include_roleScott Dodson
Correct usage of include_role
2017-11-30Merge pull request #6290 from tomassedovic/openstack-no-dnsScott Dodson
Use IP addresses for OpenStack nodes
2017-11-30Fix inventory symlinks in origin-ansible container.Devan Goodwin
When attempting to run openshift-ansible in a kubernetes pod, we attempted to use a configmap to mount in our inventory to run against. However kubernetes mounts configmaps/secrets volumes through the use of relative symlinks. The use of "cp -a" in this script then copies a relative symlink to /tmp which is now dangling, and ansible will fail to run. This patch changes to just copy the file regularly resulting in a value temp file that is not a symlink.
2017-11-29Initial upgrade for scale groups.Kenny Woodson
2017-11-29Multimaster openshift+contiv fixesLance Dillon
Only run default contiv commands once Fix detection of firewalld Open up netmaster ports to all nodes Make sure etcd ca stuff only runs once
2017-11-29Merge pull request #6307 from mgugino-upstream-stage/no-log-fixOpenShift Merge Robot
Automatic merge from submit-queue. Fix no_log warnings for custom module We need to set no_log for password and private_key variables.
2017-11-29Remove version requirement from openvswitch package, since listed version ↵riffraff
got removed from repo
2017-11-29Merge pull request #5723 from mjudeikis/gluster-registry-backendScott Dodson
Add external glusterfs backend to hosted and glusterfs playbook
2017-11-29Update the doc textTomas Sedovic
2017-11-29Optionally subscribe OpenStack RHEL nodesTomas Sedovic
2017-11-29Fix the env lookup fallback in rhel_subscribeTomas Sedovic
The role is looking for the usernames, passwords, etc. first in the shell environment and then in the Ansible vars. When the environment is empty, however, the lookup returns an empty string not an undefined variable, so the `default` fallback is never used and the ansible variables end up being ignored. By adding `True` to the end of the filter, it will work with any falsey value (including an empty string) not just undefined variables.
2017-11-29Fix syntax error caused by an extra parenTomas Sedovic
2017-11-28Fix no_log warnings for custom moduleMichael Gugino
We need to set no_log for password and private_key variables.
2017-11-28Merge pull request #6301 from mgugino-upstream-stage/project_cfg_factsOpenShift Merge Robot
Automatic merge from submit-queue. Remove openshift_facts project_cfg_facts
2017-11-28Merge pull request #6073 from mjudeikis/fix_glusterfs_restartScott Dodson
fix for Gluster force restart
2017-11-29Add external_svc_subnet for k8s loadbalancer type servicejihoon.o
Add external_svc_subnet field for k8s loadbalancer type service in kuryr-kubernetes code support external service subnet but openshift does not support yet Signed-off-by: jihoon.o <jihoon.o@samsung.com>
2017-11-28Remove openshift_facts project_cfg_factsMichael Gugino
This simplifies some variable logic.
2017-11-28Merge pull request #6299 from mgugino-upstream-stage/dns-factsMichael Gugino
Remove dns_port fact
2017-11-28Remove dns_port factMichael Gugino
Simply dns_port variable by remove from openshift_facts.
2017-11-28Bug 1512793- Fix idempotence issues in ASB deployFabian von Feilitzsch
- Add support for annotations in oc_service - Use oc_service instead of oc_obj - Use oc_pvc instead of oc_obj - Work around lack of idempotency for oc_obj DeploymentConfig
2017-11-28Merge pull request #6295 from mtnbikenc/remove-etcd-fileRussell Teague
Remove unused task file from etcd role
2017-11-28Merge pull request #6269 from mgugino-upstream-stage/clock-dependsMichael Gugino
Remove openshift_clock from meta depends
2017-11-28Merge pull request #6268 from mgugino-upstream-stage/combine-dnsmasq-with-nodeMichael Gugino
Combine openshift_node and openshift_node_dnsmasq
2017-11-28Merge pull request #6283 from mgugino-upstream-stage/schedulableMichael Gugino
remove schedulable from openshift_facts
2017-11-28Remove unused task file from etcd roleRussell Teague
2017-11-28Merge pull request #6259 from adelton/issue-6255Michael Gugino
dist.iteritems() no longer exists in Python 3.
2017-11-28Merge pull request #6280 from mgugino-upstream-stage/cli_imageScott Dodson
Remove openshift.common.cli_image
2017-11-28Merge pull request #6287 from zgalor/prom-version-updateScott Dodson
Update prometheus to 2.0.0 GA
2017-11-28Merge pull request #6291 from ingvagabund/fix-typeScott Dodson
fix type in authroize
2017-11-28fix type in authroizeJan Chaloupka
2017-11-28Use IP addresses for OpenStack nodesTomas Sedovic
Unlike other cloud providers, OpenStack VMs are not able to resolve each other by their names. If you try to run the playbooks against nodes without a pre-created /etc/hosts or a DNS that provides the hostname/ip resolution, it will fail. By setting the `openshift_hostname` variable to each node's IP address, we're able to deploy a functional cluster without running a custom DNS. It is still possible to provide an external server with nsupdate keys and have it be populated, but that is no longer a hard requirement.
2017-11-28Update prometheus to 2.0.0 GAZohar Galor
2017-11-27Merge pull request #6284 from ashcrow/add-svc-catalog-inventory-docScott Dodson
inventory: Add example for service catalog vars
2017-11-27Merge pull request #6272 from abutcher/fix-env-factsScott Dodson
Fix openshift_env fact creation within openshift_facts.
2017-11-27remove schedulable from openshift_factsMichael Gugino
This commit removes schedulable from openshift_facts in favor of detecting whether or not a host is a master via inventory.
2017-11-27inventory: Add example for service catalog varsSteve Milner
Signed-off-by: Steve Milner <smilner@redhat.com>
2017-11-27Merge pull request #6240 from ↵Russell Teague
mtnbikenc/include-deprecation-openshift-service-catalog Include Deprecation - openshift-service-catalog
2017-11-27Correct usage of include_roleRussell Teague
Switch to import_role for some required roles.
2017-11-27Remove openshift.common.cli_imageMichael Gugino
This commit removes openshift.common.cli_image in favor of openshift_cli_image.
2017-11-27Fix openshift_env fact creation within openshift_facts.Andrew Butcher
2017-11-27Combine openshift_node and openshift_node_dnsmasqMichael Gugino
This commit combines these two roles. This will prevent openshift_node_facts from running twice.
2017-11-27Merge pull request #6271 from jarrpa/glusterblock-fixScott Dodson
GlusterFS: Remove extraneous line from glusterblock template
2017-11-27GlusterFS: Remove extraneous line from glusterblock templateJose A. Rivera
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2017-11-27Merge pull request #6199 from mgugino-upstream-stage/master_sys_containerMichael Gugino
Simplify is_master_system_container logic
2017-11-27Remove openshift_clock from meta dependsMichael Gugino
This commit adds openshift_clock role to required plays instead of using meta_depends.