summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-07Remove an unused retry fileTomas Sedovic
2017-11-07Namespace the docker volumesTomas Sedovic
2017-11-07Fix toxTomas Sedovic
2017-11-07Namespace the OpenStack varsTomas Sedovic
This makes sure that all the variables used in the `openshift_openstack` role are prefixed with `openshift_openstack_` as is the convention.
2017-11-07Use `null` instead of `False` where it makes senseTomas Sedovic
The `openstack_*_network_name` vars are strings, not booleans, so the absense shouldn't really be marked by `False`.
2017-11-07Simplify the template paths for the storage setupTomas Sedovic
Because the templates are present in a role, the `template` module is able to look them up directly, without having to use `{{ role_path }}/templates`.
2017-11-07Use the default `item` loop variable for checksTomas Sedovic
2017-11-07Move the selinux check upTomas Sedovic
2017-11-07Add the DNS updates and rename the openstack varsTomas Sedovic
Most of the vars in `roles/openshift_openstack/defaults/main.yml` are now prefixed with `openstack_`.
2017-11-07Remove the subnet_update_dns_servers task listTomas Sedovic
It's no longer being used.
2017-11-07Move the vars/main.yml to defaultsTomas Sedovic
The contents of roles/openshift_openstack/vars/main.yml were moved to the defaults/main.yml file instead. There are now duplication warnings we need to address, but the deployment does still work.
2017-11-07FIXUP ANSIBLE CFGTomas Sedovic
2017-11-07Remove the static_inventory and bastion samplesTomas Sedovic
These options will have no effect until we add static inventory and bastion support back in.
2017-11-07Use the existing ansible.cfg fileTomas Sedovic
2017-11-07Remove the subscription-manager roleTomas Sedovic
The repo already contains the `rhel_subscribe` role so we should use that instead.
2017-11-07Add a stub of the dns record update code inTomas Sedovic
This will mostly not work but it's a starting point.
2017-11-07Use correct host group in provision.ymlTomas Sedovic
2017-11-07Remove the post-install and scale-up playbooksTomas Sedovic
They're not necessary for the initial PR so let's add them properly later.
2017-11-07Remove the openstack custom-actions for nowTomas Sedovic
They're duplicating a lot of functionality that's already in openshift-ansible and they're not actually used from the provisioning playbooks. We'll revisit them later.
2017-11-07Remove the extra rolesTomas Sedovic
The `openstack-stack` role is now under `openshift_openstack` and the `openstack-create-cinder-registry` one will be added there, later.
2017-11-07Add openshift_openstack role and move tasks thereTomas Sedovic
All the tasks that were previously in playbooks are now under `roles/openshift_openstack`. The `openshift-cluster` directory now only contains playbooks that include tasks from that role. This makes the structure much closer to that of the AWS provider.
2017-11-07Use the docker-storage-setup roleTomas Sedovic
2017-11-07Update readmeTomas Sedovic
2017-11-07Update lookup plugins pathTomas Sedovic
2017-11-07.gitignore casl-infraTomas Sedovic
2017-11-07Move the OpenStack playbooksTomas Sedovic
We move them from `playbooks/provisioning/openstack` to `playbooks/openstack` to mirror `playbooks/aws`.
2017-11-07Merge ../openshift-ansible-contrib into openstack-provider-githistTomas Sedovic
This moves all the OpenStack-related code from the -contrib[1] repo including its git history to openshift-ansible. It will then be moved around and updated to fit the rest of the project's structure. [1]: https://github.com/openshift/openshift-ansible-contrib
2017-10-18Merge branch 'docker-storage-setup' into openshift-ansible-sourceTomas Sedovic
2017-10-18Remove bash highlightTomas Sedovic
2017-10-18Revert the console hostname changeTomas Sedovic
We'll do it in a separate pull request.
2017-10-18Merge branch 'master' into openstack-docsTomas Sedovic
2017-10-18Add Extra CAs (custom post-provision action) (#801)Tlacenka
* add cas: playbook adding new CAs created * add CAs: README updated, bug fixes * README: improvements * README: minor fixes * README: removed code snippet * README: fix
2017-10-18Add Flannel support (#814)Bogdan Dobrelya
* Add flannel support * Document Flannel SDN use case for a separate data network. * Add post install step for flannel SDN * Configure iptables rules as described for OCP 3.4 refarch https://access.redhat.com/documentation/en-us/reference_architectures/2017/html/deploying_red_hat_openshift_container_platform_3.4_on_red_hat_openstack_platform_10/emphasis_manual_deployment_emphasis#run_ansible_installer * Configure flannel interface options Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> * Use os_firewall from galaxy for required flannel rules For flannel SDN: * Add openshift-ansible as a galaxy dependency module. * Use openshift-ansible/roles/os_firewall to apply DNS rules for flanel SDN. * Apply the remaining advanced rules with direct iptables commands as os_firewall do not support advanced rules. * Persist only iptables rules w/o dynamic KUBe rules. Those are added runtime and need restoration after reboot or iptables restart. * Configure and enable the masked iptables service on the app nodes. Enable it to allow the in-memory rules to be persisted. Disable firewalld, which is the expected default behavior of the os_firewall module. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> * Allow access from nodes to masters' port 2379 when using flannel Flannel requires to gather information from etcd to configure and assign the subnets in the nodes, therefore, allow access from nodes to port 2379/tcp to the master security group. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2017-10-18Fix broken node labels when using with Vagrant 2.0 (#816)Rastislav Barlik
A broking change has been introduced in Vagrant 2.0 with this commit: https://github.com/hashicorp/vagrant/commit/ac75e409a3470897d56a0841a575e981d60e2e3d The change puts additional quotes around the node labels. As a fix, use different quoting mechanism for Vagrant >=2.0
2017-10-18Automatic commit of package [openshift-ansible] release [3.7.0-0.159.0].Jenkins CD Merge Bot
Created by command: /usr/bin/tito tag --debug --accept-auto-changelog --keep-version --debug
2017-10-17Merge pull request #5785 from sdodson/tsb-rpm-fixScott Dodson
Updating openshift-ansible.spec file to include files dir
2017-10-17Updating openshift-ansible.spec file to include files dirScott Dodson
2017-10-17Merge pull request #5730 from sdodson/restart-controllersScott Dodson
Restart all controllers to force reconfiguration during upgrade
2017-10-17Merge pull request #5754 from ewolinetz/bz1501831Scott Dodson
Updating ES proxy image prefix and version to match other components
2017-10-17Merge pull request #5777 from wozniakjan/eventrouter_bug1501768Scott Dodson
Bug 1501768: fix eventrouter nodeSelector padding
2017-10-17Merge pull request #5765 from abutcher/service-serving-cert-typoOpenShift Merge Robot
Automatic merge from submit-queue. Ensure controllerConfig.serviceServingCert is correctly set during upgrade. A typo was originally introduced in https://github.com/openshift/openshift-ansible/pull/2449 causing an incorrect key to be configured within the master config. This commit ensures that the correct key is set during upgrades. /cc @dlbewley https://bugzilla.redhat.com/show_bug.cgi?id=1500981
2017-10-17Merge pull request #5768 from giuseppe/crio-error-out-with-node-docker-containerOpenShift Merge Robot
Automatic merge from submit-queue. cri-o: error out when node is a Docker container Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1489555 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-10-17Bug 1501768: fix eventrouter nodeSelector paddingJan Wozniak
2017-10-17Docker storage fix (#812)Chandler Wilkerson
* Added task to stop docker before templating config * Rearranged storage roles in rhv install
2017-10-17Hostfile2inventory (#813)Chandler Wilkerson
* hostfile parameter deprecated * hostfile parameter deprecated
2017-10-17Merge pull request #5687 from jim-minter/tsb_configOpenShift Merge Robot
Automatic merge from submit-queue. Rewire openshift_template_service_broker_namespaces configurable @ewolinetz @bparees
2017-10-17Merge pull request #5744 from mgugino-upstream-stage/latest-image-configOpenShift Merge Robot
Automatic merge from submit-queue. Add ability to set node and master imageConfig to latest Currently, imageConfig.latest is hard-coded to false. This commit adds an appropriate boolean to enable setting to true. Fixes: https://github.com/openshift/openshift-ansible/issues/1422
2017-10-17[WIP] Merge server with nofloating server heat templates (#761)Bogdan Dobrelya
Merge server with nofloating server heat templates
2017-10-17Automatic commit of package [openshift-ansible] release [3.7.0-0.158.0].Jenkins CD Merge Bot
Created by command: /usr/bin/tito tag --debug --accept-auto-changelog --keep-version --debug
2017-10-16Reverting proxy image version to v1.0.0 to pass CIEric Wolinetz