summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* Update v1.4 content, add api-gatewayScott Dodson2017-01-1721-111/+1259
|
* Add v1.5 contentScott Dodson2017-01-17106-1/+55330
|
* Update example sync scriptScott Dodson2017-01-171-6/+9
| | | | Add RHAMP, update for hosted templates changes.
* Merge pull request #3086 from bparees/build_nodesScott Dodson2017-01-178-38/+105
|\ | | | | add configuration for build default+overrides settings
| * add configuration for build default+overrides settingsBen Parees2017-01-168-38/+105
| |
* | Merge pull request #2993 from rhcarvalho/success-preflightRodolfo Carvalho2017-01-1714-3/+486
|\ \ | | | | | | Add RPM checks as a byo playbook
| * | Rename subrole facts -> initRodolfo Carvalho2017-01-133-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Trying to improve the name, `init` needs to be loaded before calling other subroles. We don't make `init` a dependency of `common`, `masters` and `nodes` to avoid running the relatively slow `openshift_facts` multiple times.
| * | Move Python modules into roleRodolfo Carvalho2017-01-138-3/+225
| | | | | | | | | | | | Allow reuse via role dependency.
| * | Fix inconsistent task nameRodolfo Carvalho2017-01-121-1/+1
| | |
| * | Reduce code duplication using variableRodolfo Carvalho2017-01-122-44/+14
| | | | | | | | | | | | | | | We can use openshift_facts's service_type to determine the package names.
| * | Replace custom variables with openshift_factsRodolfo Carvalho2017-01-125-9/+6
| | | | | | | | | | | | | | | | | | | | | Note: on a simple example run of ansible-playbook against a single docker-based host, I saw the execution time jump from 7s to 17s. That's unfortunate, but it is probably better to reuse openshift_facts, than to come up with new variables.
| * | Catch DBus exceptions on class initializationRodolfo Carvalho2017-01-121-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I came across this: Traceback (most recent call last): File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 2409, in <module> main() File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 2396, in main protected_facts_to_overwrite) File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 1855, in __init__ protected_facts_to_overwrite) File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 1892, in generate_facts defaults = self.get_defaults(roles, deployment_type, deployment_subtype) File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 1989, in get_defaults version_info = get_docker_version_info() File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 1290, in get_docker_version_info if is_service_running('docker'): File "/tmp/ansible_BhXpTE/ansible_module_openshift_facts.py", line 1249, in is_service_running bus = SystemBus() File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 194, in __new__ private=private) File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 100, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 122, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
| * | Refactor preflight check into rolesRodolfo Carvalho2017-01-1210-0/+293
| |/
* | Merge pull request #3096 from abutcher/node_portsScott Dodson2017-01-163-4/+21
|\ \ | | | | | | Support openshift_node_port_range for configuring service NodePorts
| * | Support openshift_node_port_range for configuring service NodePortsClayton Coleman2017-01-103-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sets the appropriate config field if openshift_node_port_range is set and also configures filewalls on each node. firewalld already supports port ranges like "30000-32000", while iptables needs that value converted to the correct "30000:32000" form for use with `--dport`. If not set, no node ports are opened.
* | | Merge pull request #3090 from jfchevrette/fix_pv_template_specAndrew Butcher2017-01-161-2/+2
|\ \ \ | | | | | | | | Fix role openshift_storage_nfs_lvm keys should be lowercase in the pv spec template
| * | | keys should be lowercase according to the specJean-Francois Chevrette2017-01-121-2/+2
| | |/ | |/|
* | | fix when statement indentation, cast to boolJean-Francois Chevrette2017-01-121-1/+1
| | |
* | | add openshift_facts as role dependencyJean-Francois Chevrette2017-01-121-1/+2
|/ /
* | Merge pull request #3030 from kwoodson/yaml_editorScott Dodson2017-01-1111-0/+2118
|\ \ | | | | | | Ansible module for modifying yaml idempotently.
| * | Adding ability to systematically modify yaml from ansible.Kenny Woodson2017-01-1111-0/+2118
| | |
* | | Add a fact to select --evacuate or --drain based on your OCP versionTim Bielawa2017-01-112-0/+17
|/ / | | | | | | Closes #3070
* | rename openshift_metrics to openshift_hosted_metricsJeff Cantrill2017-01-117-16/+16
| |
* | Merge pull request #3007 from detiber/toxificationScott Dodson2017-01-102-25/+21
|\ \ | | | | | | More Toxification
| * | More toxificationJason DeTiberus2017-01-102-25/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move pylint tests to tox - Move yamllint tests to tox - Create separate tox config (and setup.py) for root - bump ansible requirement - unify pylint config - add docs - remove git directory containing old testing tools - install python-six if not present for openshift-facts - add python-six as a dependency for openshift-ansible-utils
* | | Merge pull request #3065 from ashcrow/rpmrebuilddbAndrew Butcher2017-01-101-0/+12
|\ \ \ | |_|/ |/| | Workaround for dnf+docker version race condition
| * | Workaround for dnf+docker version race conditionSteve Milner2017-01-101-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some versions of dnf the rpm database can require maintenance after usage. Unfortunately, this trips up get_version_output in the openshift_facts library as the maintenance may interrupt the STDOUT stream. This makes the resulting data returned from get_version_output malformed and unparsable. This change adds an rpm --rebuilddb command before requesting docker version output when the ansible package manager is dnf. This causes the STDOUT maintenance messages to no longer interrupt the expected yaml stream as well as releases locks in the rpm database.
* | | Merge pull request #3060 from abutcher/return-deps-to-rolesScott Dodson2017-01-103-3/+73
|\ \ \ | |_|/ |/| | Return role dependencies to roles for openshift_{hosted,master,node}
| * | Move role dependencies out of playbooks for openshift_master, openshift_node ↵Andrew Butcher2017-01-093-3/+73
| | | | | | | | | | | | and openshift_hosted.
* | | Merge pull request #3055 from abutcher/openshift_image_tag=latestScott Dodson2017-01-093-6/+7
|\ \ \ | | | | | | | | Fix openshift_image_tag=latest.
| * | | Fix openshift_image_tag=latest.Andrew Butcher2017-01-093-6/+7
| | |/ | |/|
* | | Merge pull request #2909 from mtnbikenc/firewalldScott Dodson2017-01-095-18/+26
|\ \ \ | |/ / |/| | Enable firewalld by default
| * | Enable firewalld by defaultRussell Teague2016-12-145-18/+26
| | |
* | | Merge pull request #3015 from smarterclayton/future_versions_masterScott Dodson2017-01-084-5/+17
|\ \ \ | | | | | | | | Add future versions to openshift_facts
| * | | Add future versions to openshift_factsClayton Coleman2017-01-044-5/+17
| | | |
* | | | Merge pull request #3054 from sdodson/fix-repo-boolsScott Dodson2017-01-061-2/+2
|\ \ \ \ | |_|_|/ |/| | | Fix repo defaults
| * | | Fix repo defaultsScott Dodson2017-01-061-2/+2
| | | |
* | | | Merge pull request #3039 from tbielawa/gh3020Scott Dodson2017-01-062-4/+9
|\ \ \ \ | |/ / / |/| | | Add required python-six package to installation
| * | | Add required python-six package to installationTim Bielawa2017-01-042-4/+9
| | | | | | | | | | | | | | | | | | | | * Moves package list into a defaults/main.yml file * Closes #3020
* | | | Re-add when condition which was removed mistakenly in #3036Maciej Szulik2017-01-051-0/+1
| | | |
* | | | Merge pull request #3036 from soltysh/docker_registry_volumeScott Dodson2017-01-051-6/+5
|\ \ \ \ | | | | | | | | | | Fix jsonpath expected output when checking registry volume secrets
| * | | | Fix jsonpath expected output when checking registry volume secretsMaciej Szulik2017-01-051-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In k8s 1.5 (see rebase PR: origin 12143) jsonpath output is slightly different than previously. Causing this line to fail. We need to pick secret or secretName when checking this task failure condition.
* | | | | logging-deployer pull fixes from origin-aggregated-logging/#317Scott Dodson2017-01-052-5/+0
| | | | |
* | | | | Merge pull request #3033 from abutcher/openshift-enable-origin-repoScott Dodson2017-01-051-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Cast openshift_enable_origin_repo to bool.
| * | | | | Cast openshift_enable_origin_repo to bool.Andrew Butcher2017-01-041-2/+2
| | |_|/ / | |/| | |
* | | | | Merge pull request #3008 from bigbank-as/feature/nfs-reclaim-optionScott Dodson2017-01-053-1/+17
|\ \ \ \ \ | | | | | | | | | | | | Add osnl_volume_reclaim_policy variable to nfs_lvm role
| * | | | | Add osnl_volume_reclaim_policy variable to nfs_lvm roleAndo Roots2016-12-223-1/+17
| |/ / / / | | | | | | | | | | | | | | | | | | | | This allows to choose which volume reclamation policy to use when provisioning storage with `openshift_storage_nfs_lvm`.
* | | | | Merge pull request #3040 from sdodson/issue3025Scott Dodson2017-01-041-2/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | Enable repos defined in openshift_additional_repos by default
| * | | | Enable repos defined in openshift_additional_repos by defaultScott Dodson2017-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | Fixes #3025
* | | | | Update CFME template to point to GA buildSatoe Imaishi2017-01-041-5/+5
|/ / / /