summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks
Commit message (Collapse)AuthorAgeFilesLines
...
* | Conditionally set the nodeIPJason DeTiberus2015-11-241-0/+1
|/
* Bug 1282336 - Add additional seboolean for glusterJason DeTiberus2015-11-161-2/+7
| | | | | - Added setting seboolean for virt_sandbox_use_fusefs - Added a failed_when to not fail if virt_sandbox_use_fusefs does not exist
* New `iptablesSyncPeriod` field in node configurationAndrew Butcher2015-11-061-6/+7
|
* Bug 1278863 - Error using openshift_pkg_versionJason DeTiberus2015-11-061-9/+0
| | | | | - Install correct version of package in openshift_master_ca - Remove duplicate yum tasks in openshift_node
* Revert to defaultsAndrew Butcher2015-11-051-1/+0
|
* Various HA changes for pacemaker and native methods.Andrew Butcher2015-11-051-0/+1
|
* Atomic Enterprise/OpenShift Enterprise merge updateJason DeTiberus2015-11-041-1/+1
|
* Atomic Enterprise related changes.Avesh Agarwal2015-11-041-0/+9
|
* remove debugging pausesJason DeTiberus2015-10-261-4/+0
|
* make storage plugin dependency installation more flexibleJason DeTiberus2015-10-265-18/+44
|
* Install storage plugin dependenciesJason DeTiberus2015-10-261-2/+17
|
* Merge pull request #734 from ejemba/masterBrenton Leanhardt2015-10-261-2/+6
|\ | | | | Adding Docker Log Options capabilities
| * Adding Docker Log Options capabilitiesejemba2015-10-231-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | In regard of issue https://github.com/openshift/openshift-ansible/issues/696 added options (docker_log_dirver and docker_log_options) to bin/cluster: bin/cluster -o docker_log_driver=json-file -o docker_log_options="max-size=5m,max-files=5" will be added to OPTION in /etc/sysconfig/docker in all nodes of the cluster: "--log-driver json-file --log-opt max-size=5m --log-opt max-files=5"
* | cleanup naming for skipping master and node restart handlersJason DeTiberus2015-10-231-1/+1
| |
* | Avoid hardcoded 30s pausesJason DeTiberus2015-10-221-3/+2
|/ | | | - refactor node and master restart handlers to avoid 30s pauses
* fix : (node) labels defaults correctly to the variable openshift_node_labels ↵Chengcheng Mu2015-10-091-1/+1
| | | | when oo_option returns an empty list
* Revert "Revert "GCE support""Chengcheng Mu2015-10-061-1/+1
| | | | This reverts commit 3073d1f729f9dcd202088f6b318b465567c6344b.
* Revert "GCE support"Thomas Wiest2015-10-051-1/+1
|
* Removed some application specific code like insecure registries, heat templateChengcheng Mu2015-10-011-6/+0
|
* GCE-support (more information in PR, README_GCE.md)Chengcheng Mu2015-10-011-1/+7
|
* UpgradesScott Dodson2015-09-231-0/+1
|
* Merge pull request #558 from sdodson/version-pinningBrenton Leanhardt2015-09-041-2/+4
|\ | | | | Add openshift_version to set RPM versions
| * Add openshift_version to set RPM versionsScott Dodson2015-09-031-2/+4
| | | | | | | | Mostly necessary for debugging / testing upgrade paths
* | added new node fact for schedulabilityStefanie Forrester2015-09-021-0/+1
|/
* Add openshift_node_sdn_mtu configurationScott Dodson2015-09-021-0/+1
| | | | | Sync's with Origin 1.0.6 and OSE 3.0.2 node-config.yaml networkConfig changes Fixes #534
* Merge pull request #512 from sdodson/nextWesley Hearn2015-08-281-17/+17
|\ | | | | Merge in Atomic Enterprise work into master
| * Atomic Enterprise related changes.Avesh Agarwal2015-08-261-17/+17
| |
* | Bugfix for extra --add-registry in docker configJason DeTiberus2015-08-261-11/+13
|/
* Add options to configure docker registriesLénaïc Huard2015-08-261-0/+42
|
* Merge pull request #358 from lhuard1A/selinux-disabledThomas Wiest2015-08-141-1/+6
|\ | | | | Make the playbooks friendlier with SELinux disabled hosts
| * Force SELinux on "enterprise" deployment typeLénaïc Huard2015-08-131-0/+3
| |
| * Make the playbooks friendlier with SELinux disabled hostsLénaïc Huard2015-07-171-1/+3
| |
* | Add support for setting kubeletArguments, controllerArguments, and ↵Jason DeTiberus2015-08-131-0/+1
| | | | | | | | apiServerArguments
* | Add a pause after node startup to prevent restart handler from interfering ↵Jason DeTiberus2015-07-241-0/+5
|/ | | | with sdn configuration
* Playbook updates for clustered etcdJason DeTiberus2015-07-101-0/+6
| | | | | | | | | | | | | | | | | | | | | - Add support to bin/cluster for specifying etcd hosts - defaults to 0, if no etcd hosts are selected, then configures embedded etcd - Updates for the byo inventory file for etcd and master as node by default - Consolidation of cluster logic more centrally into common playbook - Added etcd config support to playbooks - Restructured byo playbooks to leverage the common openshift-cluster playbook - Added support to common master playbook to generate and apply external etcd client certs from the etcd ca - start of refactor for better handling of master certs in a multi-master environment. - added the openshift_master_ca and openshift_master_certificates roles to manage master certs instead of generating them in the openshift_master role - added etcd host groups to the cluster update playbooks - aded better handling of host groups when they are either not present or are empty. - Update AWS readme
* Etcd role updates and playbook updatesJason DeTiberus2015-07-101-8/+0
| | | | | | | | | | | | | | | | | | | | | - fix firewall conflict issues with co-located etcd and openshift hosts - added os_firewall dependency to etcd role - updated etcd template to better handle clustered and non-clustered installs - added etcd_ca role - generates a self-signed cert to manage etcd certificates, since etcd peer certificates are required to be client and server certs and the openshift ca will only generate client or server certs (not one authorized for both). - renamed openshift_etcd_certs role to etcd_certificates and updated it to manage certificates generated from the CA managed by the etcd_ca role - remove hard coded etcd_port in openshift_facts - updates for the openshift-etcd common playbook - removed etcd and openshift-etcd playbooks from the byo playbooks directory - added a common playbook for setting etcd launch facts - added an openshift-etcd common service playbook - removed unused variables - fixed tests for embedded_{etcd,dns,kube} in openshift_master - removed old workaround for reloading systemd units
* delegate_to doesn't appear to be thread safeBrenton Leanhardt2015-06-291-21/+0
|
* Bug 1234717 - oo-install-ose should use openshift_hostname as parameter when ↵Brenton Leanhardt2015-06-231-3/+3
| | | | checking schedulable state
* Adding support for labeling nodes as unscheduleableBrenton Leanhardt2015-06-221-0/+21
| | | | | | | | | | | For idempotency it first checks the output of 'oc get node <hostname>' to see if any action needs to be taken. The trick was waiting to make sure that the node autoregistration had actually happened. If you set openshift_scheduleable=False in the inventory then the node will be marked as unscheduleable. Likewise setting it to True undoes the change. Having openshift_scheduleable undefined is the same as True since that is the default state of a Node.
* Update for RC2 changesScott Dodson2015-06-161-14/+14
| | | | | | | | | | | | | 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
* * Make portal_net configurable when wetting up the nodes OpenShift RegistryJhon Honce2015-06-121-1/+2
|
* Infrastructure - Set OpenShift RegistryJhon Honce2015-06-121-0/+11
| | | | * TODO: update to secure when 'add volume' feature available in origin
* Use the documented state=present for yum moduleJason DeTiberus2015-06-101-2/+2
|
* Templatize configs and 0.5.2 changesJason DeTiberus2015-06-101-29/+38
| | | | | | | | | | | | | | | | | | | | | | - 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-3/+4
| | | | | | | | | | - 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
* Allow NFS access for VMsJhon Honce2015-06-051-0/+3
|
* Configuration updates for latest builds and major refactorJason DeTiberus2015-04-141-18/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add byo playbooks and enterprise docsJason DeTiberus2015-04-031-0/+1
| | | | | | | | - added byo playbooks - added byo (example) inventory - added a README_OSE.md for getting started with Enterprise deployments - Added an ansible.cfg as an example for configuration helpful for playbooks/roles
* openshift_facts role/module refactor default settingsJason DeTiberus2015-04-031-16/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* node registration changesJason DeTiberus2015-03-241-49/+19
| | | | | | | | | | | | | | - 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.