Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform linting on Ansible playbooks #101

Merged
merged 5 commits into from
Mar 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ exclude_paths:
skip_list:
# Temporary skips made during migration
- args[module]
- experimental
- fqcn-builtins
- yaml[line-length]
- var-spacing
- yaml[line-length]

mock_modules:
- vagrant # only until we publish community.vagrant collection
2 changes: 1 addition & 1 deletion molecule/test-podman/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
tasks:
- name: Test
ansible.builtin.debug:
msg: it worked!
msg: "It worked!"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
path: "{{ ssh_identity_file }}"
register: keypair

- name: Create molecule Linux instance(s)
- name: "Create molecule Linux instance(s)"
google.cloud.gcp_compute_instance:
state: present
name: "{{ item.name }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
ansible.builtin.copy:
src: /etc/hosts
dest: /tmp/hosts-from-controller
mode: '0644'
- name: "Include {{ cookiecutter.role_name }}"
ansible.builtin.include_role:
name: "{{ cookiecutter.role_name }}"