Skip to content

Commit bbbd550

Browse files
committed
Fixes linting errors
1 parent 62792ec commit bbbd550

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

handlers/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- name: Restart corosync
2-
service:
2+
service:
33
name: "{{ item }}"
44
state: restarted
55
with_items:

tasks/check_vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- name: Checking that required variables are set
22
fail: msg="{{ item }} is not defined"
3-
when: not {{ item }}
3+
when: not item
44
with_items:
55
- pacemaker_corosync_group
6-
- pacemaker_corosync_ring_interface
6+
- pacemaker_corosync_ring_interface

tasks/pacemaker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- name: Installs pacemaker & corosync
2-
apt: pkg={{item}} state=latest
2+
apt: pkg={{item}} state=present
33
with_items:
44
- corosync
55
- pacemaker

0 commit comments

Comments
 (0)