summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/main.yml
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4874 from ingvagabund/set-default-valuesJan Chaloupka2017-07-271-2/+6
|\ | | | | Sync all openshift.common.use_openshift_sdn uses in yaml files
| * Sync all openshift.common.use_openshift_sdn uses in yaml filesJan Chaloupka2017-07-261-2/+6
| | | | | | | | | | | | | | | | | | | | | | Most occurrences are in a form: ```yaml openshift.common.use_openshift_sdn | default(true) | bool ``` Let's make all occurences this way given the use_openshift_sdn is set to true anyway. See https://github.com/openshift/openshift-ansible/blob/0c350dcc7d06d62be5ba3a8e468dff85cdd96dd7/roles/openshift_facts/library/openshift_facts.py#L2035
* | Fix log dumping on service failureScott Dodson2017-07-201-1/+1
|/ | | | Also, add log dumping to master service startup too
* Dump some logsScott Dodson2017-07-181-0/+11
|
* daemon_reload on node and ovs startScott Dodson2017-07-181-0/+2
| | | | | At least in my smoke testing of a containerized install i had to manually reload systemd
* Wrap additional service changes in retriesScott Dodson2017-07-181-0/+3
|
* Add daemon_reload parameter to service tasksTim Bielawa2017-06-011-0/+1
| | | | | | | Fixes "Could not find the requested service atomic-openshift-master: cannot enable" error during reinstall. https://bugzilla.redhat.com/show_bug.cgi?id=1451693
* Merge pull request #4234 from vshn/feature/oreg_url_masternodeOpenShift Bot2017-05-261-1/+1
|\ | | | | Merged by openshift-bot
| * allow to configure oreg_url specifically for node or master. refs #4233Tobias Brunner2017-05-191-1/+1
| | | | | | | | | | | | | | | | | | This commit allows to specify imageConfig.format specifically for master or for nodes. One use case of this could be if you want to use customer builder images. In this case imageConfig.format only needs to be changed in the master-config.yml but not in the node-config.yml.
* | Workaround sysctl module issue with py3 by converting task to lineinfile.Andrew Butcher2017-05-191-1/+7
|/
* Don't double quote when conditionsScott Dodson2017-05-011-1/+1
|
* Add bool for proper conditional handlingRussell Teague2017-04-261-1/+1
|
* Update swap disable tasksRussell Teague2017-04-211-9/+14
| | | | | | * Lines are commented out vice being removed * Comment is added indicating why the change happened * Variable openshift_disable_swap added to allow user control
* Disable swap space on nodes at install and upgradeRussell Teague2017-04-121-0/+27
|
* Force to use TLSv1.2 (related to ↵Olivier Buisson2017-03-131-1/+1
| | | | https://github.com/openshift/openshift-ansible/pull/2707)
* Merge pull request #3305 from giuseppe/conntrack-toolsScott Dodson2017-02-101-0/+6
|\ | | | | node: ensure conntrack-tools is installed
| * node: ensure conntrack-tools is installedGiuseppe Scrivano2017-02-091-0/+6
| | | | | | | | | | | | Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1420182 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | atomic-openshift: install as a system containerGiuseppe Scrivano2017-02-101-1/+1
|/ | | | | | | | | | | | | | | Use use_system_containers=true in the inventory file alternatively you can select each component as: use_openvswitch_system_container=true use_node_system_container=true use_master_system_container=true system_images_registry holds the registry from where to fetch system containers. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Merge pull request #2937 from dgoodwin/upgrade-prepullScott Dodson2016-12-081-14/+0
|\ | | | | Pre-pull master/node/ovs images during upgrade.
| * Pre-pull master/node/ovs images during upgrade.Devan Goodwin2016-12-071-14/+0
| | | | | | | | | | | | | | | | We did this for install but not upgrade, leading to situations where the service restarts after upgrade could take much longer than expected as docker pulls down the new image. Now the images are present when we restart services and should allow them to come back online much more quickly, equivalent to rpm service restarts.
* | Silence warnings when using rpm directlyDag Wieers2016-12-081-0/+2
|/
* Refactored to use Ansible systemd moduleRussell Teague2016-11-281-29/+40
| | | | | | * Ansible systemd module used in place of service module * Refactored command tasks which are no longer necessary * Applying rules from openshift-ansible Best Practices Guide
* Merge pull request #2818 from mtnbikenc/package-refactorScott Dodson2016-11-211-2/+6
|\ | | | | Refactor to use Ansible package module
| * Refactor to use Ansible package moduleRussell Teague2016-11-171-2/+6
| | | | | | | | | | The Ansible package module will call the correct package manager for the underlying OS.
* | Only run tuned-adm if tuned exists.Dusty Mabe2016-11-211-1/+7
|/ | | | | | Fedora Atomic Host does not have tuned installed. Fixes #2809
* Merge pull request #2636 from enlinxu/masterAndrew Butcher2016-11-161-0/+5
|\ | | | | Support 3rd party scheduler
| * support 3rd party schedulerenlinxu2016-10-201-0/+5
| |
* | set AWS creds task with no_logsSally O'Malley2016-11-071-0/+1
| |
* | Add node-labels to kubeletArgumentsTim Bielawa2016-10-201-0/+4
|/ | | | * Node labels are parsed from openshift_node_labels if they exist
* Get rid of openshift_node_config_file entirelyScott Dodson2016-10-171-1/+1
|
* nfs: Handle seboolean aliases not just in FedoraColin Walters2016-10-121-0/+2
| | | | | | | | | | | | I'm testing with a bleeding edge RHEL Atomic Host, and it looks like we pulled in a new version of selinux-policy that has `virt_sandbox_use_nfs` aliased to `virt_use_nfs`. In https://github.com/openshift/openshift-ansible/pull/2356 Adam changed this to check for Fedora. This changes things to drop the distribution check, and instead parse the `getsebool` output to determine whether or not the boolean is an alias, and should hence work on all distributions/versions.
* Improve how we handle containerized node failure on first startupScott Dodson2016-10-101-11/+3
|
* Suppress more warnings.Andrew Butcher2016-09-281-2/+6
|
* Add atomic-guest tuned profileAndrew Lau2016-09-131-0/+4
|
* Persist net.ipv4.ip_forward sysctl entry for openshift nodesTim Bielawa2016-09-011-0/+6
| | | | | Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1372388
* Merge pull request #2378 from dgoodwin/node-reload-unitsScott Dodson2016-08-291-6/+0
|\ | | | | Reload units after node container service modified.
| * Reload units after node container service modified.Devan Goodwin2016-08-291-6/+0
| |
* | Don't use openshift_env for cloud provider facts.Andrew Butcher2016-08-251-3/+3
|/
* Move storage includes up to main.Andrew Butcher2016-08-081-2/+14
|
* Stop reporting changes when docker pull is already up to date.Devan Goodwin2016-07-201-2/+6
|
* Merge branch 'master' into upgrade33Devan Goodwin2016-06-281-0/+11
|\
| * Merge pull request #2025 from abutcher/global-envAndrew Butcher2016-06-231-0/+11
| |\ | | | | | | Per-service environment variables
| | * Add per-service environment variables.Andrew Butcher2016-06-131-0/+11
| | |
* | | Merge branch 'master' into upgrade33Devan Goodwin2016-06-231-7/+12
|\| |
| * | Add 30 second pause before retrying to start the nodeScott Dodson2016-06-171-0/+5
| | |
| * | Stop dumping debug output, re-try startng the node onceScott Dodson2016-06-161-8/+4
| | |
| * | Attempt to fix containerized node start failure with Docker 1.10.Devan Goodwin2016-06-141-0/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | It appears that in some situations (can't reliably reproduce yet), node will fail to start. This appears to be related to the node-dep service and possibly it's environment file. This file is also an EnvironmentFile for the node service, but it's only created by the node-dep service, and it looks like it may try to read it's environment before the node-dep service has fully started and created the file. Workaround with a an explicit service start.
* | Always populate openshift_image_tag and openshift_pkg_version.Devan Goodwin2016-06-151-5/+4
| | | | | | | | | | Allows the use of arbitrary tags, precise control over containers and rpms, and likely mixed environments.
* | Merge branch 'master' into upgrade33Devan Goodwin2016-06-101-2/+2
|\|
| * Fix Docker 1.10 problems with empty tags and trailing :Devan Goodwin2016-06-061-2/+2
| | | | | | | | | | | | | | | | | | | | Docker 1.10 is no longer tolerant of commands like "docker pull myimage:" when we do not have an image tag in play. Adjust all occurrences with one that only includes the : if a version is defined. Adjust the containerized CLI wrappers for a similar problem.