Skip to content

Commit

Permalink
fix: remove ansible-lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ggambini committed Nov 18, 2020
1 parent 049a3dd commit 616fa68
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ keepalived_routerid: "50"
keepalived_master: "localhost"
keepalived_passwd: "toto"
keepalived_interface: "eth0"
keepalived_vip: "192.168.100.1"

# Mode failover or ha
keepalived_mode: "failover"
Expand Down Expand Up @@ -41,4 +40,3 @@ keepalived_admin: "admin@example.com"
# define keepalived_logfile variable if you want a dedicated logfile
#keepalived_logfile: "/var/log/keepalived.log"
keepalived_history: "2"

1 change: 0 additions & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@
systemd:
name: rsyslog
state: restarted

1 change: 0 additions & 1 deletion tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@
permanent: yes

when: keepalived_mode == "ha"

1 change: 0 additions & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@
group: "root"
mode: 0755
with_fileglob: "check_*"

3 changes: 1 addition & 2 deletions tasks/uninstall.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
# tasks file for uninstall
- name: (uninstall) Stop keepalived if running
systemd:
Expand All @@ -13,4 +13,3 @@
- ipvsadm
state: absent
autoremove: yes

0 comments on commit 616fa68

Please sign in to comment.