-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure ansible-lint validates roles as well
Change-Id: Id8ef04567f585b274cddc582e28c9eb9604f2a49
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 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,7 @@ | ||
--- | ||
- hosts: "{{ hostname | default('controller') }}" | ||
tasks: | ||
- name: Ensure ansible-lint is installed | ||
shell: type ansible-galaxy || pip install --user ansible-core | ||
- name: install required collections | ||
shell: ansible-galaxy collection install community.general community.crypto ansible.posix kubernetes.core |
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