summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
| |
* | Merge pull request #4540 from ↵Scott Dodson2017-07-141-0/+2
|\ \ | | | | | | | | | | | | giuseppe/openvswitch-syscontainer-specify-docker-service-name openvswitch, syscontainer: specify the Docker service name
| * | openvswitch, syscontainer: specify the Docker service nameGiuseppe Scrivano2017-06-221-0/+2
| |/ | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | Merge pull request #4531 from abutcher/f26-ah-setseboolOpenShift Bot2017-07-062-26/+76
|\ \ | | | | | | Merged by openshift-bot
| * | Workaround seboolean module with setsebool command.Andrew Butcher2017-07-052-26/+76
| |/
* / Run dns on the node and use that for dnsmasqScott Dodson2017-06-301-1/+1
|/
* Add daemon-reload handler to openshift_node and notify when /etc/systemd ↵Andrew Butcher2017-06-091-5/+12
| | | | files have been updated.
* 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
|/
* Fix templating of static service filesRussell Teague2017-05-121-1/+1
|
* Add service file templates for master and nodeSteve Milner2017-05-091-1/+7
| | | | | | | Adds service file templates for both maste and node. These will lay down in /etc/system/systemd to override what may already be present from a package. These instances take into account the name of the container daemon (docker or container-engine).
* 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
|
* Use meta/main.yml for role dependenciesRussell Teague2017-03-272-8/+0
|
* Force to use TLSv1.2 (related to ↵Olivier Buisson2017-03-131-1/+1
| | | | https://github.com/openshift/openshift-ansible/pull/2707)
* node: use the new oc_atomic_container moduleGiuseppe Scrivano2017-02-282-58/+18
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Merge pull request #3332 from giuseppe/system-containers-haGiuseppe Scrivano2017-02-152-8/+10
|\ | | | | system containers: add support for HA deployments
| * node, vars/main.yml: define l_is_ha and l_is_same_versionGiuseppe Scrivano2017-02-142-10/+8
| | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * node: simplify when conditionalsGiuseppe Scrivano2017-02-101-2/+5
| | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * openvswitch: simplify when conditionalsGiuseppe Scrivano2017-02-101-4/+5
| | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | 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>
* | node: refactor Docker container tasks in a blockGiuseppe Scrivano2017-02-101-25/+25
| | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | system-containers: implement idempotent updateGiuseppe Scrivano2017-02-102-5/+37
| | | | | | | | | | | | | | | | Upstream version has "atomic containers update ..." but the RHEL version is still using "atomic update --container" so stick with this for now. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | atomic-openshift: install as a system containerGiuseppe Scrivano2017-02-104-5/+61
|/ | | | | | | | | | | | | | | 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>
* Comma separate no_proxy host list in openshift_facts so that it appears as a ↵Andrew Butcher2017-01-251-1/+1
| | | | string everywhere it is used.
* YAML LintingRussell Teague2016-12-121-12/+13
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Merge pull request #2937 from dgoodwin/upgrade-prepullScott Dodson2016-12-082-14/+14
|\ | | | | Pre-pull master/node/ovs images during upgrade.
| * Pre-pull master/node/ovs images during upgrade.Devan Goodwin2016-12-072-14/+14
| | | | | | | | | | | | | | | | 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-215-7/+11
|\ | | | | Refactor to use Ansible package module
| * Refactor to use Ansible package moduleRussell Teague2016-11-175-7/+11
| | | | | | | | | | 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
| |
* | Deploy an OOM systemd override for openvswitch.Devan Goodwin2016-11-021-2/+17
| | | | | | | | | | | | At recommendation of network team, more details in: https://bugzilla.redhat.com/show_bug.cgi?id=1331590
* | 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-172-2/+2
|
* Build full node config path in systemd_units tasks.Andrew Butcher2016-10-171-1/+1
|
* Merge pull request #2586 from cgwalters/seboolean-handle-aliasesScott Dodson2016-10-132-19/+15
|\ | | | | nfs: Handle seboolean aliases not just in Fedora
| * nfs: Handle seboolean aliases not just in FedoraColin Walters2016-10-122-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'master' of github.com:openshift/openshift-ansible into ↵Justin Cook2016-10-111-11/+3
|\| | | | | | | variable_with_no_default_2576
| * Improve how we handle containerized node failure on first startupScott Dodson2016-10-101-11/+3
| |