-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Molecule to support v24 (#14)
* add product codes for new agent versions * remove product codes for eol windows versions <23 * add Get-MSIProperties script to aid in gathering product codes * upgrade molecule to version 24.6 and refactor scenarios * remove deprecated molecule config from roles * refactor workflows for molecule 24.6 * set role-path to be optional * disable linting to test if refactor works * tweak pip install * set ansible version * fix variable * tweak ansible install * specifically install vagrant dependencies of molecule plugins * uninstall molecule-vagrant * force uninstall * revert install method for ansible * disable linting to validate refactor didn't break things * update action versions * comment molecule lint * increase win_async_startup_timeout * fix ansible-lint errors * test ansible-lint github action * manually configure ansible-lint * fixup yamllint to comply with ansible-lint * fix yamllint violations * fix lint errors * ansible-lit --fix * lint files * standardize role files on ansible-lint v24 rules * cleanup truthy and quotes in molecule scenarios * cleanup workspacefile * add runtime file * ansible-lint
- Loading branch information
1 parent
0eded10
commit 78272b9
Showing
175 changed files
with
1,777 additions
and
4,357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
# .ansible-lint | ||
|
||
profile: production | ||
|
||
# exclude_paths included in this file are parsed relative to this file's location | ||
# and not relative to the CWD of execution. CLI arguments passed to the --exclude | ||
# option are parsed relative to the CWD of execution. | ||
exclude_paths: | ||
- .cache/ # implicit unless exclude_paths is defined in config | ||
- .github | ||
|
||
# Mock modules or roles in order to pass ansible-playbook --syntax-check | ||
# mock_modules: | ||
# - zuul_return | ||
# # note the foo.bar is invalid as being neither a module or a collection | ||
# - fake_namespace.fake_collection.fake_module | ||
# - fake_namespace.fake_collection.fake_module.fake_submodule | ||
mock_roles: | ||
- s1_agent_common | ||
|
||
# Ansible-lint is able to recognize and load skip rules stored inside | ||
# `.ansible-lint-ignore` (or `.config/ansible-lint-ignore.txt`) files. | ||
# To skip a rule just enter filename and tag, like "playbook.yml package-latest" | ||
# on a new line. | ||
# Optionally you can add comments after the tag, prefixed by "#". We discourage | ||
# the use of skip_list below because that will hide violations from the output. | ||
# When putting ignores inside the ignore file, they are marked as ignored, but | ||
# still visible, making it easier to address later. | ||
skip_list: | ||
- var-naming[no-role-prefix] | ||
|
||
# Ansible-lint does not fail on warnings from the rules or tags listed below | ||
warn_list: | ||
- galaxy[version-incorrect] | ||
|
||
# Also recognize these versions of Ansible as supported: | ||
supported_ansible_also: | ||
- "2.16" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.