- 16 May, 2019 3 commits
-
-
Sean Myers authored
A whole mess of rhsm role updates
-
Sean Myers authored
-
Sean Myers authored
Modify role behavior to prevent resubscription of a system when `rhsm_unregister` is `true` but `rhsm_username` or `rhsm_activationkey` is still set.
-
- 15 May, 2019 2 commits
-
-
Sean Myers authored
-
Sean Myers authored
-
- 14 May, 2019 1 commit
-
-
Sean Myers authored
On a system that needs to be registered, subscription-manager should already be installed. If subscription-manager is not installed (this should never happen), it would then need to be installed, which would require a registered system, which would have required subscription- manager to be installed. tl;dr you can't install subscription-manager without subscription- manager, so...we can safely assume it's installed.
-
- 14 Mar, 2019 5 commits
-
-
Sean Myers authored
Rename rhsm_repository_release to rhsm_release
-
Sean Myers authored
This module was renamed in ansible prior to the 2.8 release. This updates the role vendoring to adapt to the name change.
-
Sean Myers authored
Various CI updates and improvements
-
Sean Myers authored
This is breaking ansible-lint in travis. Removing this is the first step in the process for deprecating and removing support for outputs from this role.
-
Sean Myers authored
In documenting ways to best test roles that require subscriptions, and in light of changes either recently applied to or soon coming to the molecule_openstack_ci role, I made a few changes to test the docs that I'm writing. This commit attempts to clean up the rhsm role to more properly work with the new envvar-based method for getting at the subscription information, removes the unused docker scenario, and fixes up the openstack provisioning playbooks to better match how the molecule_openstack_ci does things.
-
- 07 Feb, 2019 2 commits
-
-
Sean Myers authored
Add a daily cron trigger
-
Sean Myers authored
There are a ton of different triggers that can give us cron-like behavior. It's my hope that using this in conjunction with the github branch folders mean we'll continue to get the current and desired behavior from those jobs, and just get the daily cron trigger added on top. If this doesn't work, then we may end up having to effectively redeclare the github branches config in every job. Hopefully this works. :)
-
- 01 Feb, 2019 4 commits
-
-
Sean Myers authored
Due to changes in how RHSM vars are loaded, getting at the list of expected pool IDs from outside of ansible is a little less reliable. This test is modified just to check that the subscribed pool IDs are correctly added to the output yaml. I also added some entries to the gitignore to ignore test-generated artifacts.
-
Sean Myers authored
Due to the way the github org folder plugin names workspaces, autodetection of the role name from the workspace dir does not work. So, for this and all roles using an upstream Jenkinsfile, `molecule_role_name` appears to be required.
-
Sean Myers authored
Move test scenarios upstream
-
Sean Myers authored
This does a few things: - With oasis-pipeline on github, all the tests can be on github now, too. The only thing I see that needed to be redacted is the subscription information, which now comes in via jankies env vars. The majority of this change is the addition of a group_vars file to load the subscription information from the env, and then updating the scenarios to use those group_vars. - The "downstream_openstack" scenario has entirely replaced the "openstack" scenario previously in this repo. - The Jenkinsfile itself now lives in this repo If the rhsm group_vars approach deemed is good, I'll be documenting that so it can easily be adapted to other roles that need subscriptions for testing.
-
- 07 Dec, 2018 2 commits
-
-
robled authored
Use vendored rhsm_repository_release module
-
Sean Myers authored
closes #10
-
- 14 Aug, 2018 3 commits
-
-
Sean Myers authored
-
Sean Myers authored
Support ansible 2.4 with vendored library
-
Sean Myers authored
This is effectively a proof of concept for a way to backport a module from newer versions of ansible to work with a version of ansible that did not have that module. In this case, rhsm_repository does not exist in ansible 2.4. If (and only if) the installed version of ansible is less than 2.5, this role will attempt to use the vendored version of the task. Otherwise (ansible 2.5+), it will use the ansible builtin version of the task.
-
- 27 Jul, 2018 3 commits
-
-
Sean Myers authored
Fix typos in the README.md
-
Gregory Hellings authored
-
Gregory Hellings authored
Missing tick before yaml caused the closing triple tick to invert the status of escaped codeblocks throughout the rest of the file The _ characters, therefore, were not registring as indicating an underline
-
- 24 Jul, 2018 2 commits
-
-
Greg Hellings authored
Correct LICENSE
-
Sean Myers authored
Switched project to GPLv3 with the permission of existing contributors.
-
- 13 Jul, 2018 2 commits
-
-
Sean Myers authored
ansible 2.6 does not work with docker-py
-
Sean Myers authored
Using docker library instead. They are the same library, but the pypi name switched from "docker-py" to "docker" in 2.0: https://docker-py.readthedocs.io/en/stable/change-log.html#breaking-changes Ansible docs still refer to installing docker-py, so that's probably a good docs fix opportunity?
-
- 05 Jul, 2018 1 commit
-
-
Sean Myers authored
Add support for release handling
-
- 03 Jul, 2018 1 commit
-
-
Sean Myers authored
Specifically, this adds support for the `--set` and `--unset` flags to the `subscription-manager release` subcommand.
-
- 27 Jun, 2018 2 commits
-
-
Sean Myers authored
Register outputs from role
-
Sean Myers authored
-
- 20 Jun, 2018 2 commits
-
-
Sean Myers authored
Add "pool" option and update gitignore
-
aeuredji authored
-
- 23 May, 2018 1 commit
-
-
Sean Myers authored
closes #1
-
- 22 May, 2018 3 commits
-
-
Sean Myers authored
privilege escalation is (as far as I know) always done when working with subscription-manager, so now this role does it for you
-
Sean Myers authored
-
Sean Myers authored
(takes a deep breath) Since these scenarios are wrapped with molecule, and molecule won't pass the scenario if the role tasks don't work, I think it's reasonable to consider molecule's ansible run as part of the testing stack, making this test redundant.
-
- 18 May, 2018 1 commit
-
-
Sean Myers authored
test_subscription never actually tests anything related to subscriptions
-