Skip to content

Commit

Permalink
Cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Dec 2, 2024
1 parent c5bb33f commit d0f2d80
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
matrix:
include:
- distro: debian10
ansible-version: '>=9, <10'
- distro: debian11
- distro: debian12
- distro: ubuntu1804
Expand Down
4 changes: 2 additions & 2 deletions tasks/configure-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
path: /etc/nagios3/htpasswd.users
name: "{{ item.name }}"
password: "{{ item.password }}"
mode: 0644
mode: '0644'
with_items: "{{ nagios_server_htpasswd_users }}"
tags:
- nagios-server-configure-apache-htpasswd-users
Expand All @@ -17,7 +17,7 @@
owner: "{{ nagios_server_default_owner }}"
group: "{{ nagios_server_default_group }}"
# Needed for www-data to read this file
mode: 0644
mode: '0644'
notify: reload nagios-server
tags:
- nagios-server-configure-copy-cgi-file
Expand Down
6 changes: 3 additions & 3 deletions tasks/configure-4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
dest: /etc/nagios4/htdigest.users
owner: "{{ nagios_server_default_owner }}"
group: "{{ nagios_server_default_owner }}"
mode: 0644
mode: '0644'
tags:
- nagios-server-configure-apache-htpasswd-users

Expand All @@ -16,7 +16,7 @@
dest: /etc/nagios4/apache2.conf
owner: "{{ nagios_server_default_owner }}"
group: "{{ nagios_server_default_owner }}"
mode: 0644
mode: '0644'
notify: reload nagios-server
tags:
- nagios-server-configure-copy-apache-file
Expand All @@ -28,7 +28,7 @@
owner: "{{ nagios_server_default_owner }}"
group: "{{ nagios_server_default_group }}"
# Needed for www-data to read this file
mode: 0644
mode: '0644'
notify: reload nagios-server
tags:
- nagios-server-configure-copy-cgi-file
Expand Down
2 changes: 1 addition & 1 deletion tasks/private-keys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
state: directory
owner: "{{ item.owner | default('nagios') }}"
group: "{{ item.group | default(item.owner) | default('nagios') }}"
mode: 0700
mode: '0700'
with_items: "{{ nagios_server_private_keys }}"
when: item.state is undefined or item.state == 'present'
tags:
Expand Down
3 changes: 2 additions & 1 deletion tests/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# test file
---
- hosts: localhost
- name: converge
hosts: localhost
connection: local
become: true
pre_tasks:
Expand Down
3 changes: 2 additions & 1 deletion tests/vagrant.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# test file
---
- hosts: all
- name: converge
hosts: all
remote_user: vagrant
become: true
pre_tasks:
Expand Down

0 comments on commit d0f2d80

Please sign in to comment.