Skip to content

Commit

Permalink
Make v2.0.20 the default version
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Aug 26, 2020
1 parent 410975c commit 6cc4eb4
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 6 deletions.
7 changes: 7 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ boxes = [
:cpu => "50",
:ram => "256"
},
{
:name => "debian-10",
:box => "bento/debian-10",
:ip => '10.0.0.18',
:cpu => "50",
:ram => "256"
},
]

Vagrant.configure("2") do |config|
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# defaults file for keepalived
---
keepalived_git_repo: https://github.com/acassen/keepalived.git
keepalived_version: v2.0.11
keepalived_version: v2.0.20
keepalived_install: []
keepalived_configure_options: []
keepalived_options: []
Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ galaxy_info:
versions:
- jessie
- stretch
- buster
galaxy_tags:
- system
- networking
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- name: allow binding non-local IP
sysctl:
name: net.ipv4.ip_nonlocal_bind
value: "{{ keepalived_ip_nonlocal_bind }}"
value: "{{ keepalived_ip_nonlocal_bind | string }}"
reload: true
state: present
when: keepalived_ip_nonlocal_bind | bool
Expand Down
4 changes: 2 additions & 2 deletions tasks/service-systemd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
---
- name: service | systemd | update script
template:
src: etc/systemd/system/keepalived.j2
dest: /etc/systemd/system/keepalived.service
src: "{{ keepalived_etc_systemd_file.lstrip('/') }}.j2"
dest: "{{ keepalived_etc_systemd_file }}"
owner: root
group: root
mode: 0644
Expand Down
4 changes: 2 additions & 2 deletions tasks/service-upstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
---
- name: service | upstart | update script
template:
src: etc/init/keepalived.conf.j2
dest: /etc/init/keepalived.conf
src: "{{ keepalived_etc_init_file.lstrip('/') }}.j2"
dest: "{{ keepalived_etc_init_file }}"
owner: root
group: root
mode: 0644
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ keepalived_dependencies:
keepalived_checkout_path: /var/lib/ansible/keepalived/checkouts/keepalived

keepalived_configuration_file: /etc/keepalived/keepalived.conf

keepalived_etc_systemd_file: /etc/systemd/system/keepalived.service
keepalived_etc_init_file: /etc/init/keepalived.conf

0 comments on commit 6cc4eb4

Please sign in to comment.