summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-17Add tasks to uninstall metrics (#7)Jeff Cantrill
2017-01-17Custom certificates (#5)Bruno Barcarol GuimarĂ£es
* 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.
2017-01-17prefix vars with metrics role (#4)Jeff Cantrill
2017-01-17Bruno Barcarol GuimarĂ£es work to move metrics to ansible from deployerJeff Cantrill
2017-01-17Merge pull request #3083 from rhcarvalho/doc-playbooksScott Dodson
Document playbook directories
2017-01-17Merge pull request #3086 from bparees/build_nodesScott Dodson
add configuration for build default+overrides settings
2017-01-17Merge pull request #3064 from giuseppe/fix-etcdctl-from-containerScott Dodson
use etcdctl from the container when containerized=True
2017-01-17Merge pull request #2993 from rhcarvalho/success-preflightRodolfo Carvalho
Add RPM checks as a byo playbook
2017-01-16Merge pull request #3096 from abutcher/node_portsScott Dodson
Support openshift_node_port_range for configuring service NodePorts
2017-01-16add configuration for build default+overrides settingsBen Parees
2017-01-16Merge pull request #3085 from abutcher/no-nfs-group-defaultScott Dodson
Do not default registry storage kind to 'nfs' when 'nfs' host group exists.
2017-01-16Merge pull request #3091 from ashcrow/modify-yamlAndrew Butcher
Updated modify_yaml with docstring and clarifications
2017-01-16Merge pull request #3090 from jfchevrette/fix_pv_template_specAndrew Butcher
Fix role openshift_storage_nfs_lvm keys should be lowercase in the pv spec template
2017-01-16Merge pull request #3088 from jfchevrette/fix_openshift_storage_nfs_lvmAndrew Butcher
Fix role openshift_storage_nfs_lvm
2017-01-13Updated modify_yaml with docstring and clarificationsSteve Milner
2017-01-13Rename subrole facts -> initRodolfo Carvalho
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.
2017-01-13Move Python modules into roleRodolfo Carvalho
Allow reuse via role dependency.
2017-01-13Merge pull request #3089 from ashcrow/openshift-master-updatesAndrew Butcher
openshift_master filter updates
2017-01-13Document playbook directoriesRodolfo Carvalho
2017-01-13Document bin/cluster toolRodolfo Carvalho
2017-01-12keys should be lowercase according to the specJean-Francois Chevrette
2017-01-12filter: Removed unused validation callsSteve Milner
The parent class for filters in openshift_master defines a validate method which does nothing. This change removes calls to this method while leaving the validation implementations as is.
2017-01-12Updated initializer usage in filtersSteve Milner
Switched from explicit parent class usage to super(). See: https://docs.python.org/2/library/functions.html#super
2017-01-12fix when statement indentation, cast to boolJean-Francois Chevrette
2017-01-12add openshift_facts as role dependencyJean-Francois Chevrette
2017-01-12Merge pull request #3087 from ashcrow/setuppyScott Dodson
Added setup.py to flake8 tests
2017-01-12Added setup.py to flake8 testsSteve Milner
Added setup.py to flake8 tests since it is code. Also minor updates to slightly modernize. Note: In the future {#} should probably be ported to {} as numbering is no longer needed (and disliked by many).
2017-01-12Merge pull request #3084 from tbielawa/issue_template_updateScott Dodson
Another proposed update to the issue template
2017-01-12Do not default registry storage kind to 'nfs' when 'nfs' group exists.Andrew Butcher
This makes it possible to use openshift-ansible configured nfs for hosted components other than the registry while also configuring empty-dir registry storage (no openshift_hosted_registry_storage_kind set).
2017-01-12Fix inconsistent task nameRodolfo Carvalho
2017-01-12Reduce code duplication using variableRodolfo Carvalho
We can use openshift_facts's service_type to determine the package names.
2017-01-12Another proposed update to the issue templateTim Bielawa
2017-01-12Replace custom variables with openshift_factsRodolfo Carvalho
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.
2017-01-12Catch DBus exceptions on class initializationRodolfo Carvalho
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
2017-01-12Move playbook to BYORodolfo Carvalho
Because that's the main playbook directory in use.
2017-01-12Merge pull request #3081 from lberk/masterScott Dodson
Fix typo in inventory README.md
2017-01-12Fix typo in inventory README.mdLukas Berk
libviert -> libvirt
2017-01-12Refactor preflight check into rolesRodolfo Carvalho
2017-01-12Make flake8 (py35) happy on bare exceptRodolfo Carvalho
2017-01-12Make callback plugin an always-on aggregate pluginRodolfo Carvalho
This makes it so that one doesn't need to explicitly enable nor replace the default callback plugin.
2017-01-12Add RPM checks as an adhoc playbookRodolfo Carvalho
2017-01-11Merge pull request #3076 from ashcrow/flatten-oo-filtersJason DeTiberus
WIP: oo_filters: Moved static methods to functions
2017-01-11Merge pull request #3079 from tbielawa/readme_release_docsJason DeTiberus
first swing at release version wording
2017-01-11first swing at release version wordingTim Bielawa
clarify our branching and release compat. policy.
2017-01-11Merge pull request #3030 from kwoodson/yaml_editorScott Dodson
Ansible module for modifying yaml idempotently.
2017-01-11Merge pull request #3074 from tbielawa/GH3070-drainuateScott Dodson
Add a fact to select --evacuate or --drain based on your OCP version
2017-01-11Merge pull request #3077 from mtnbikenc/fix-toxJason DeTiberus
Correct tox to run on Travis
2017-01-11Correct tox to run on TravisRussell Teague
2017-01-11Adding ability to systematically modify yaml from ansible.Kenny Woodson
2017-01-11oo_filters: Moved static methods to functionsSteve Milner
This change moves the static methods into functions in an effort to reduce complexity and improve readability.