summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix toxTomas Sedovic2017-11-072-3/+3
|
* Namespace the OpenStack varsTomas Sedovic2017-11-0716-416/+418
| | | | | This makes sure that all the variables used in the `openshift_openstack` role are prefixed with `openshift_openstack_` as is the convention.
* Use `null` instead of `False` where it makes senseTomas Sedovic2017-11-071-2/+2
| | | | | The `openstack_*_network_name` vars are strings, not booleans, so the absense shouldn't really be marked by `False`.
* Simplify the template paths for the storage setupTomas Sedovic2017-11-071-3/+3
| | | | | | 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`.
* Use the default `item` loop variable for checksTomas Sedovic2017-11-073-14/+11
|
* Move the selinux check upTomas Sedovic2017-11-071-5/+5
|
* Add the DNS updates and rename the openstack varsTomas Sedovic2017-11-0714-333/+284
| | | | | Most of the vars in `roles/openshift_openstack/defaults/main.yml` are now prefixed with `openstack_`.
* Remove the subnet_update_dns_servers task listTomas Sedovic2017-11-071-9/+0
| | | | It's no longer being used.
* Move the vars/main.yml to defaultsTomas Sedovic2017-11-072-49/+53
| | | | | | | | 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.
* FIXUP ANSIBLE CFGTomas Sedovic2017-11-071-1/+2
|
* Remove the static_inventory and bastion samplesTomas Sedovic2017-11-071-19/+0
| | | | | These options will have no effect until we add static inventory and bastion support back in.
* Use the existing ansible.cfg fileTomas Sedovic2017-11-073-32/+9
|
* Remove the subscription-manager roleTomas Sedovic2017-11-073-351/+0
| | | | | The repo already contains the `rhel_subscribe` role so we should use that instead.
* Add a stub of the dns record update code inTomas Sedovic2017-11-072-0/+173
| | | | This will mostly not work but it's a starting point.
* Use correct host group in provision.ymlTomas Sedovic2017-11-071-1/+1
|
* Remove the post-install and scale-up playbooksTomas Sedovic2017-11-072-127/+0
| | | | | They're not necessary for the initial PR so let's add them properly later.
* Remove the openstack custom-actions for nowTomas Sedovic2017-11-074-128/+0
| | | | | | | | 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.
* Remove the extra rolesTomas Sedovic2017-11-0723-1668/+0
| | | | | The `openstack-stack` role is now under `openshift_openstack` and the `openstack-create-cinder-registry` one will be added there, later.
* Add openshift_openstack role and move tasks thereTomas Sedovic2017-11-0756-803/+1636
| | | | | | | | | 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.
* Use the docker-storage-setup roleTomas Sedovic2017-11-071-1/+3
|
* Update readmeTomas Sedovic2017-11-071-17/+8
|
* Update lookup plugins pathTomas Sedovic2017-11-071-1/+1
|
* .gitignore casl-infraTomas Sedovic2017-11-071-0/+1
|
* Move the OpenStack playbooksTomas Sedovic2017-11-0725-0/+0
| | | | | We move them from `playbooks/provisioning/openstack` to `playbooks/openstack` to mirror `playbooks/aws`.
* Merge ../openshift-ansible-contrib into openstack-provider-githistTomas Sedovic2017-11-0774-0/+4586
|\ | | | | | | | | | | | | | | 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
| * Merge branch 'docker-storage-setup' into openshift-ansible-sourceTomas Sedovic2017-10-181-1/+17
| |\
| | * Add CentOS support to the docker-storage-setup roleTomas Sedovic2017-10-091-1/+17
| | | | | | | | | | | | | | | | | | This let's us use the role on CentOS systems, as well as RHEL. In addition, it installs docker and makes sure it's restarted (as opposed to just "started" which has no effect when docker is already running).
| * | Remove bash highlightTomas Sedovic2017-10-181-1/+1
| | |
| * | Revert the console hostname changeTomas Sedovic2017-10-182-5/+5
| | | | | | | | | | | | We'll do it in a separate pull request.
| * | Merge branch 'master' into openstack-docsTomas Sedovic2017-10-1815-202/+402
| |\ \
| | * | Add Extra CAs (custom post-provision action) (#801)Tlacenka2017-10-182-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add cas: playbook adding new CAs created * add CAs: README updated, bug fixes * README: improvements * README: minor fixes * README: removed code snippet * README: fix
| | * | Add Flannel support (#814)Bogdan Dobrelya2017-10-186-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| | * | Fix broken node labels when using with Vagrant 2.0 (#816)Rastislav Barlik2017-10-180-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Docker storage fix (#812)Chandler Wilkerson2017-10-171-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Added task to stop docker before templating config * Rearranged storage roles in rhv install
| | * | Hostfile2inventory (#813)Chandler Wilkerson2017-10-170-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | * hostfile parameter deprecated * hostfile parameter deprecated
| | * | [WIP] Merge server with nofloating server heat templates (#761)Bogdan Dobrelya2017-10-174-250/+35
| | | | | | | | | | | | Merge server with nofloating server heat templates
| | * | Updating the issue template to be more consistent in format. (#810)Matt Bruzek2017-10-160-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updating the issue template to be more consistant in format. * Removing the links and the extra spaces. * Changed BUG REQUEST to BUG REPORT in the header.
| | * | Merge pull request #808 from dav1x/fix_deploy_host_setupDavis Phillips2017-10-160-0/+0
| | |\ \ | | | | | | | | | | Fix deploy host setup
| | | * | add comma for package list for gcpDavis Phillips2017-10-160-0/+0
| | | | |
| | | * | re-arrange README.md for vmwareDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | re-arrange README.md for vmwareDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | re-arrange README.md for vmwareDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | re-arrange README.md for vmwareDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | re-arrange README.md for vmwareDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | fix table format for real this timeDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | fix table formatDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | fix table formatDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | fix table formatDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | fix table formatDavis Phillips2017-10-130-0/+0
| | | | |
| | | * | changing the docs for setup for providersDavis Phillips2017-10-130-0/+0
| | | | |