summaryrefslogtreecommitdiffstats
path: root/roles/lib_utils
Commit message (Collapse)AuthorAgeFilesLines
* Relocate filter plugins to lib_utilsMichael Gugino2017-12-187-0/+1601
| | | | | | | | | | | | | | This commit relocates filter_plugings to lib_utils, changes the namespacing to prevent unintended use of older versions that may be present in filter_plugins/ directory on existing installs. Add lib_utils to meta depends for roles Also consolidate some plugins into lib_utils from various other areas. Update rpm spec, obsolete plugin rpms.
* Copying upstream fix for ansible 2.4 ec2_group module.Kenny Woodson2017-12-111-0/+903
|
* Alternative method to create docker registry auth credsMichael Gugino2017-11-141-0/+207
| | | | | | | | | | | | | | | Currently, the command 'docker login' is run when using oreg with authentication. On some hosts, such as hosts configured to use system containers, the docker service is not running. 'docker login' will fail without the docker service running. This commit adds a module to idempotently add credentials to the registry credentials file without the use of 'docker login' Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374
* Returning actual results of yedit query. Empty list was returning empty dict.Kenny Woodson2017-09-202-2/+2
|
* add retry on repoquery_cmdLuke Meyer2017-09-131-1/+1
|
* add retries to repoquery moduleLuke Meyer2017-09-134-12/+25
|
* First attempt at provisioning.Kenny Woodson2017-08-213-1/+486
|
* Fix python3 error in repoqueryJeff Peeler2017-05-133-3/+3
| | | | | | | Explicitly convert from bytes to string so that splitting the string is successful. This change works with python 2 as well. Closes #4182
* Merge pull request #4065 from ingvagabund/introduce-get-rpm-version-roleJan Chaloupka2017-05-126-4/+58
|\ | | | | Introduce excluder-free rpm version detection role
| * Extend repoquery command (of lib_utils role) to ignore excludersJan Chaloupka2017-05-116-4/+58
| |
* | Fix for yedit custom separatorsMatt Woodson2017-05-102-2/+2
|/
* Fixed a bug in oc_volume.Kenny Woodson2017-03-284-94/+76
|
* Adding a few more test cases. Fixed a bug when key was empty. Safeguard ↵Kenny Woodson2017-03-285-19/+132
| | | | against yedit module being passed an empty key
* Added the ability to do multiple editsKenny Woodson2017-03-285-111/+242
|
* Remove dummy setup/teardown methodsRodolfo Carvalho2017-03-061-8/+0
|
* Clean up test filesRodolfo Carvalho2017-03-062-24/+0
| | | | | They are not executable anymore, and tests are now meant to be run through pytest.
* Remove redundant assertionRodolfo Carvalho2017-03-061-2/+0
| | | | | | That line is testing Python's list.count method, instead of yedit. The assertion right above is a superset of it, as it checks for equality to some expected value.
* BZ1422348 - Don't install python-ruamel-yamlScott Dodson2017-03-032-12/+1
| | | | Just rely on PyYAML as a fallback and hope that's there
* raise exceptions when walking through object pathJoel Diaz2017-02-283-5/+38
| | | | | | | | | | | | | | | | if we're given path a.b.c and the existing object is: a: b: - item1 raise an exception due to unexpected objects found while traversing the path (ie. b is a list, not a dict) also, add_entry assumes new dicts for each sub element when creating elements besides the final assignment value. doing something like a.b.c[0] = 12 where 'c' doesn't exist raises an exception add test cases to cover: access path that differs from existing object create new objects with an embedded list in the path create new object with a list at the end (define the end list in the passed in 'value' to avoid this exception)
* Merge pull request #3406 from sdodson/openshift_reposScott Dodson2017-02-231-0/+15
|\ | | | | Install repos on containerized hosts for python dependencies
| * add dependency on openshift_reposScott Dodson2017-02-171-0/+15
| |
* | fix up ruamel.yaml/pyyaml no-member lint errorsJason DeTiberus2017-02-224-76/+85
| |
* | Removed unrequired no-members from yedit and generated codeSteve Milner2017-02-222-11/+40
| |
* | Removed unused code. Made tests executable.Kenny Woodson2017-02-212-0/+0
| |
* | Fix validation of generated codeRodolfo Carvalho2017-02-201-1/+1
| | | | | | | | | | Importing modules with the same name will not reload an already imported module. Explicitly reloading the module is the quickest fix.
* | Unset exec bit in tests, add missing requirementsJason DeTiberus2017-02-192-0/+0
| | | | | | | | was: separate lib_ unit tests from other unit tests
* | Include missing unit tests to test runner configRodolfo Carvalho2017-02-192-0/+0
| | | | | | | | We were not running those tests in CI, bad :(
* | Fix tests on Python 3Rodolfo Carvalho2017-02-192-2/+2
|/ | | | | | Unlike in Python 2: - `range` doesn't return a list. - `dict.keys` doesn't return a list.
* Don't attempt to install python-ruamel-yaml on atomicScott Dodson2017-02-161-0/+6
|
* Pleasing the linting gods.Kenny Woodson2017-02-164-13/+25
|
* Fixed tests for pyyaml vs ruamel. Added import logic. Fixed safe load.Kenny Woodson2017-02-162-4/+4
|
* Adding fallback support for pyyaml.Kenny Woodson2017-02-164-32/+81
|
* Fixed ansible module unit and integration tests and added runners.Thomas Wiest2017-02-072-2/+45
|
* Added oc_serviceaccount_secret to lib_openshift.Thomas Wiest2017-02-062-16/+30
|
* Ensure python2-ruamel-yaml is installedScott Dodson2017-02-031-0/+5
| | | | | | need to revisit this, currently python2-ruamel-yaml doesn't provide 'python-ruamel-yaml'. It probably should and that should be what we're installing.
* Added repoquery to lib_utils.Thomas Wiest2017-01-3111-20/+1423
|
* Generate the artifacts from fragments.Tim Bielawa2017-01-241-0/+16
|
* Update the generators to include fragment bannersTim Bielawa2017-01-241-1/+36
|
* Updated the generate.py scripts for tox and virtualenv.Kenny Woodson2017-01-182-12/+26
|
* Adding a few updates for python27,35 compatibilityKenny Woodson2017-01-181-0/+6
|
* Adding --verfiy to generate script.Kenny Woodson2017-01-173-23/+55
|
* Adding oc_edit module to lib_openshift.Kenny Woodson2017-01-174-58/+7
|
* lib_openshift modules. This is the first one. oc_route.Kenny Woodson2017-01-135-108/+217
|
* Adding ability to systematically modify yaml from ansible.Kenny Woodson2017-01-1111-0/+2118