summaryrefslogtreecommitdiffstats
path: root/roles/openshift_common
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1324 from abutcher/fluentd-fixesBrenton Leanhardt2016-02-111-1/+0
|\ | | | | Remove fluentd_master and fluentd_node roles
| * Remove fluentd_master and fluentd_node roles.Andrew Butcher2016-02-081-1/+0
| |
* | Add gte check for 3.2, update version checks to gteJason DeTiberus2016-02-091-2/+2
| |
* | Refactor registry storage options.Andrew Butcher2016-02-011-3/+7
|/
* Merge pull request #1275 from spinolacastro/datadirBrenton Leanhardt2016-01-261-0/+1
|\ | | | | Expose data_dir
| * Expose data_dirDiego Castro2016-01-261-0/+1
| |
* | Merge pull request #1276 from spinolacastro/pkgversionBrenton Leanhardt2016-01-261-0/+1
|\ \ | | | | | | Fix pkg_version
| * | fix pkg_versionDiego Castro2016-01-261-0/+1
| |/
* | Merge pull request #1160 from vishpat/nuageBrenton Leanhardt2016-01-251-0/+9
|\ \ | |/ |/| Nuage
| * Add Nuage support to openshift ansibleVishal Patil2016-01-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added variables Made changes for node configuration Add service restart logic to node Fixed ansible syntax errors Add cert and key info for nodes Added active and standby controller ip configuration information Uncommented the nuage sdn check Changed ca_crt -> ca_cert Added restarting of atomic openshift master Removed service account dependencies Fixes Fixed the api server url Removed redundant restart of atomic openshift master Configure nuagekubemon on all of the master nodes Restart master api and controllers as well on nuagekubemon installation Converted plugin config into template Add template for nuagekubemon Removed uplink interface from vars Able to copy cert keys Uninstall default ovs Add the kubemon template Do not install rdo sdn rpms in case of nuage Addressed latest review comments Set the networkPluginName for nuage
* | Switch to using hostnamectl as it works on atomic and rhel7Scott Dodson2016-01-111-1/+2
| |
* | Skip yum/dnf ops when is_containerizedScott Dodson2015-12-151-0/+1
| |
* | Merge pull request #1030 from jtslear/make-examples-optionalBrenton Leanhardt2015-12-101-0/+1
|\ \ | | | | | | Make the install of openshift_examples optional
| * | Make the install of openshift_examples optionalJohn T Skarbek2015-12-091-0/+1
| |/ | | | | | | | | * Allows us to make it optional to run the role `openshift_examples` * Defaults to true
* | Install base package in openshift_common for version factsAndrew Butcher2015-12-101-0/+6
|/
* ManageIQ Service Account: added role for ManageIQ service accountenoodle2015-12-041-0/+1
| | | | Signed-off-by: enoodle <efreiber@redhat.com>
* Rework setting of hostnameJason DeTiberus2015-11-241-0/+13
| | | | | - set the hostname for all installs < 3.1 or 1.1 - provide a new variable openshift_set_hostname to override default behavior
* Do not update the hostnameJason DeTiberus2015-11-171-3/+0
|
* Fix when neither use_openshift_sdn nor use_flannel are specifiedSylvain Baubeau2015-10-271-1/+1
|
* Ensure openshift-sdn and flannel can't be used at the same timeSylvain Baubeau2015-10-271-0/+4
|
* Add flannel supportSylvain Baubeau2015-10-271-0/+1
| | | | Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
* Move openshift_data_dir to a fact based on deployment_typeScott Dodson2015-09-101-2/+0
| | | | | | Previously this was being set to /var/lib/origin regardless of deployment_type which isn't correct given that existing 'enterprise' and 'online' deployments would have been deployed with /var/lib/openshift
* Merge pull request #512 from sdodson/nextWesley Hearn2015-08-282-2/+2
|\ | | | | Merge in Atomic Enterprise work into master
| * Atomic Enterprise related changes.Avesh Agarwal2015-08-262-2/+2
| |
* | Merge pull request #459 from spinolacastro/fluentdWesley Hearn2015-08-271-0/+1
|\ \ | |/ |/| Configure Fluentd
| * Configure FluentdDiego Castro2015-08-121-0/+1
| |
* | Merge pull request #405 from sdodson/loglevel2Brenton Leanhardt2015-08-173-3/+3
|\ \ | | | | | | Set loglevel=2 as our default across the board
| * | Set loglevel=2 as our default across the boardScott Dodson2015-07-293-3/+3
| |/
* | Changes to make documentation less specific to OSE or AE and alsoAvesh Agarwal2015-08-131-3/+3
|/ | | | adds README_AEP.md.
* Replace outdated beta repo ids with 3.0 releaseTakayoshi Kimura2015-07-171-1/+1
|
* Update for RC2 changesScott Dodson2015-06-161-1/+0
| | | | | | | | | | | | | Remove openshift-deployer.kubeconfig from master template Sync config template Update enterprise image names Switch to node auto registration Add deployer to list of serviceAccountConfig.managedNames Move package installation before registering facts change default kubeconfig location Change system:openshift-client to system:openshift-master Rename node cert/key/kubeconfig per openshift/origin#3160 Update references to /var/lib/openshift/openshift.local.certificates
* Templatize configs and 0.5.2 changesJason DeTiberus2015-06-102-0/+4
| | | | | | | | | | | | | | | | | | | | | | - Templatize node config - Templatize master config - Integrated sdn changes - Updates for openshift_facts - Added support for node, master and sdn related changes - registry_url - added identity provider facts - Removed openshift_sdn_* roles - Install httpd-tools if configuring htpasswd auth - Remove references to external_id - Setting external_id interferes with nodes associating with the generated node object when pre-registering nodes. - osc/oc and osadm/oadm binary detection in openshift_facts Misc Changes: - make non-errata puddle default for byo example - comment out master in list of nodes in inventory/byo/hosts - remove non-error errors from fluentd_* roles - Use admin kubeconfig instead of openshift-client
* Accomodate upstream configuration changeScott Dodson2015-06-101-4/+0
| | | | | | | | | | - Master config and certificates are now in /etc/openshift/master - Node config is now in /etc/openshift/node - Several certificates have been renamed to accomodate a flattening of structure to accomodate secret storage - Add openshift_data_dir to ensure etcd and volumes are stored in /var/lib/openshift - Add openshift_generated_configs_dir
* add use_fluentd to openshift_factsJason DeTiberus2015-06-061-1/+0
| | | | | - Move use_fluentd into openshift_facts proper - default use_fluentd to False unless deployment_type == origin
* * Make fluentd deployment optional with openshift_use_fluentdJhon Honce2015-06-011-0/+1
|
* Configuration updates for latest builds and major refactorJason DeTiberus2015-04-142-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-036-34/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* remove openshift_hostname_workaround var for openshift_common, rather rely ↵Jason DeTiberus2015-03-242-6/+0
| | | | on inventory/playbook variables for openshift_hostname
* node registration changesJason DeTiberus2015-03-242-2/+2
| | | | | | | | | | | | | | - Remove default value for openshift_hostname and make it required - Remove workarounds that are no longer needed - Remove resources parameter from openshift_register_node module - pre-create node certificates for each node before registering node - distribute created node certificates to each node - Move node registration logic to a new openshift_register_nodes role - This is because we now have to run the steps on a master as opposed to on the nodes like we were previously doing. - Rename openshift_register_node module to kubernetes_register_node, one more step to genericizing enough for upstreaming, however there are still plenty of openshift specific commands that still need to be genericized.
* add repos role to gce cluster launch so that we are applying ↵Jason DeTiberus2015-03-241-3/+0
| | | | os_update_latest after repo config
* Use ansible playbook to initialize openshift clusterJhon Honce2015-03-241-0/+3
| | | | | * Added playbooks/gce/openshift-cluster * Added bin/cluster (will replace cluster.sh)
* Move yum update * to new os_update_latest roleJason DeTiberus2015-03-241-3/+0
|
* Use ansible playbook to initialize openshift clusterJhon Honce2015-03-241-0/+3
| | | | | * Added playbooks/gce/openshift-cluster * Added bin/cluster (will replace cluster.sh)
* Merge pull request #117 from detiber/repoRenameThomas Wiest2015-03-242-0/+2
|\ | | | | Rename repos role to openshift_repos
| * Rename repos role to openshift_reposJason DeTiberus2015-03-182-0/+2
| | | | | | | | | | | | | | | | | | - Rename repos role to openshift_repos - Make openshift_repos a dependency of openshift_common - Add README and metadata for openshift_repos - Playbook updates for role rename - Verify libselinux-python is installed, otherwise some of the bulit-in modules we use fail
* | Fix hostname handlingJason DeTiberus2015-03-183-7/+3
|/ | | | | - always set hostname if hostname does not match openshift_hostname - Use local IP instead of public IP as hostname for workaround
* Merge pull request #100 from detiber/randomCleanupThomas Wiest2015-03-092-14/+18
|\ | | | | Random cleanup
| * Initial READMEs for openshift_{common, node, master}Jason DeTiberus2015-03-061-13/+17
| |
| * Fix license nameJason DeTiberus2015-03-061-1/+1
| |
* | start fixing os_firewall issuesJason DeTiberus2015-03-061-1/+1
| | | | | | | | | | - Fix missed references to old firewall scripts - Fix variable name references that didn't get updated