Skip to content

Commit

Permalink
Spellcheck the yaml as well
Browse files Browse the repository at this point in the history
This will catch typos in the actual Ansible code

Signed-off-by: Tim Smith <tsmith84@gmail.com>
  • Loading branch information
tas50 committed Apr 2, 2024
1 parent 444194f commit e16d9d7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/spelling/line_forbidden.patterns
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
\bOpenstack\b

# s.b. Red Hat
\bRedHat\b
# \bRedHat\b # This how Ansible represents it
\bRedhat\b

# s.b. EuroLinux
Expand Down
1 change: 1 addition & 0 deletions .github/actions/spelling/only.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
\.md$
\.yml$
4 changes: 2 additions & 2 deletions tasks/linux_login.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
become: "{{ use_become }}"
when: not ansible_check_mode

- name: Logout cnquery and cnspec from Mondoo platform
- name: Logout cnquery and cnspec from Mondoo Platform
ansible.builtin.command: cnspec logout --force --config /etc/opt/mondoo/mondoo.yml
args:
# only run the command if no config file exists
Expand Down Expand Up @@ -61,7 +61,7 @@
login_cmd: "{{ login_cmd + ' --splay ' + splay }}"
when: splay | length > 0

- name: Login cnquery and cnspec with Mondoo platform
- name: Login cnquery and cnspec with Mondoo Platform
ansible.builtin.command:
cmd: "{{ login_cmd }}"
args:
Expand Down
2 changes: 1 addition & 1 deletion tasks/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
chdir: "C:\\Program Files\\Mondoo"
when: not ansible_check_mode and cnspec_version.stdout is match(".*cnspec 9.*")

- name: Logout cnquery and cnspec from Mondoo platform
- name: Logout cnquery and cnspec from Mondoo Platform
ansible.windows.win_command: cnspec.exe logout --force --config C:\\ProgramData\\Mondoo\\mondoo.yml
args:
chdir: "C:\\Program Files\\Mondoo"
Expand Down

0 comments on commit e16d9d7

Please sign in to comment.