Skip to content

Commit

Permalink
implement keepalived_git_repo variable (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlerch-transporeon authored and tersmitten committed Feb 12, 2019
1 parent 69d69aa commit 923b0c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Set up the latest or a specific version of [Keepalived](http://www.keepalived.or

#### Variables

* `keepalived_git_repo`: [default: `https://github.com/acassen/keepalived.git`]: Keepalived git repo
* `keepalived_version`: [default: `v2.0.11`]: Keepalived version to install

* `keepalived_install`: [default: `[]`]: Additional packages to install (e.g. `['libnl-3-dev', 'libnl-genl-3-dev', 'libnl-route-3-dev', 'libnfnetlink-dev']`)
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# defaults file for keepalived
---
keepalived_git_repo: https://github.com/acassen/keepalived.git
keepalived_version: v2.0.11
keepalived_install: []
keepalived_configure_options: []
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

- name: checkout repository
git:
repo: https://github.com/acassen/keepalived.git
repo: "{{ keepalived_git_repo }}"
dest: "{{ keepalived_checkout_path }}"
version: "{{ keepalived_version }}"
force: true
Expand Down

0 comments on commit 923b0c6

Please sign in to comment.