| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| | |
add configuration for build default+overrides settings
|
| | |
|
|\ \
| | |
| | | |
Add RPM checks as a byo playbook
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
Allow reuse via role dependency.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
We can use openshift_facts's service_type to determine the package
names.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/ |
|
|\ \
| | |
| | | |
Support openshift_node_port_range for configuring service NodePorts
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | | |
Fix role openshift_storage_nfs_lvm keys should be lowercase in the pv spec template
|
| | |/
| |/| |
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Ansible module for modifying yaml idempotently.
|
| | | |
|
|/ /
| |
| |
| | |
Closes #3070
|
| | |
|
|\ \
| | |
| | | |
More Toxification
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
|\ \ \
| |_|/
|/| | |
Workaround for dnf+docker version race condition
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |_|/
|/| | |
Return role dependencies to roles for openshift_{hosted,master,node}
|
| | |
| | |
| | |
| | | |
and openshift_hosted.
|
|\ \ \
| | | |
| | | | |
Fix openshift_image_tag=latest.
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| | |
Enable firewalld by default
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add future versions to openshift_facts
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Fix repo defaults
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Add required python-six package to installation
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* Moves package list into a defaults/main.yml file
* Closes #3020
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix jsonpath expected output when checking registry volume secrets
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Cast openshift_enable_origin_repo to bool.
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add osnl_volume_reclaim_policy variable to nfs_lvm role
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
This allows to choose which volume reclamation policy to
use when provisioning storage with `openshift_storage_nfs_lvm`.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Enable repos defined in openshift_additional_repos by default
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #3025
|
|/ / / / |
|
|/ / / |
|