Skip to content

Commit

Permalink
use spaces around variables for ansible-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ktdreyer committed Apr 24, 2023
1 parent d0f686d commit ded2bb2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion roles/cobbler/tasks/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
when: users_digest is changed or dynamic_settings is changed or server_value is changed

- name: Update settings
command: cobbler setting edit --name={{ item.name }} --value={{ item.value}}
command: cobbler setting edit --name={{ item.name }} --value={{ item.value }}
with_items: "{{ settings }}"
2 changes: 1 addition & 1 deletion roles/fog-server/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- name: Ensure a path for FOG
file:
path: "/home/{{ fog_user}}/fog"
path: "/home/{{ fog_user }}/fog"
owner: "{{ fog_user }}"
state: directory

Expand Down
2 changes: 1 addition & 1 deletion roles/testnode/tasks/cpan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
mode: 0755

- name: Ensure perl-doc and cpanminus is installed on apt systems.
apt: name={{item}} state=present
apt: name={{ item }} state=present
with_items:
- cpanminus
- perl-doc
Expand Down
2 changes: 1 addition & 1 deletion roles/testnode/tasks/ntp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

- name: Make sure ntpd is running.
service:
name: "{{ntp_service_name}}"
name: "{{ ntp_service_name }}"
enabled: yes
state: started
# There's an issue with ansible<=2.9 and our custom built kernels (5.8 as of this commit) where the service and systemd modules don't have backwards compatibility with init scripts
Expand Down
2 changes: 1 addition & 1 deletion roles/users/tasks/filter_users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# in managed_admin_users
managed_users:
"[{% for lab_user in managed_users -%}
{% if not managed_admin_users|selectattr('name', 'equalto', lab_user.name)|list|length %}{{ lab_user}},{% endif %}
{% if not managed_admin_users|selectattr('name', 'equalto', lab_user.name)|list|length %}{{ lab_user }},{% endif %}
{%- endfor %}]"
when: extra_admin_users is defined and extra_admin_users|length > 0

Expand Down

0 comments on commit ded2bb2

Please sign in to comment.