summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* properly set changes when oc applyJeff Cantrill2017-01-173-8/+41
|
* additional cr fixesJeff Cantrill2017-01-176-91/+99
|
* metrics fixes for yamlintJeff Cantrill2017-01-178-47/+46
|
* additional code reviewsJeff Cantrill2017-01-1713-52/+120
|
* set replicas to current value so not to disrupt current pods (#13)Jeff Cantrill2017-01-175-3/+32
|
* User provided certs pushed from control. vars reorg (#12)Jeff Cantrill2017-01-178-35/+79
| | | Merging per discussion and agreement from @bbguimaraes
* update vars to allow scaling of components (#9)Jeff Cantrill2017-01-1711-23/+173
|
* allow definition of cpu/memory limits/resources (#11)Jeff Cantrill2017-01-175-1/+111
|
* rename variables to be less extraneous (#10)Jeff Cantrill2017-01-176-23/+30
|
* copy admin cert for use in subsequent tasks (#8)Jeff Cantrill2017-01-175-6/+19
|
* Add tasks to uninstall metrics (#7)Jeff Cantrill2017-01-175-26/+34
|
* Custom certificates (#5)Bruno Barcarol Guimarães2017-01-1711-258/+330
| | | | | | | | | | | | | | | * Generate secrets on a persistent directory. * Split certificate generation files. * Custom certificates. * Minor fixes. - use `slurp` instead of `shell: base64` - fix route hostname * Updates on origin-metrics.
* prefix vars with metrics role (#4)Jeff Cantrill2017-01-1711-65/+66
|
* Bruno Barcarol Guimarães work to move metrics to ansible from deployerJeff Cantrill2017-01-1723-0/+986
|
* 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