Skip to content

Commit

Permalink
Make it possible not to use the PPA
Browse files Browse the repository at this point in the history
fixes #92
  • Loading branch information
tersmitten committed Apr 19, 2020
1 parent 311b11d commit 3f7807e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Set up (the latest version of) [HAProxy](http://www.haproxy.org/) in Ubuntu syst

#### Variables

* `haproxy_use_ppa`: [default: `true`]: Whether or not to add the PPA (for installation)

* `haproxy_version`: [default: `1.8`]: Version to install (e.g. `1.5`, `1.6`, `1.7`, `1.8`, `1.9`, `2.0`, `2.1`)

* `haproxy_install`: [default: `[]`]: Additional packages to install (e.g. `socat`)
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 haproxy
---
haproxy_use_ppa: true
haproxy_version: 1.8

haproxy_dependencies:
Expand Down
1 change: 1 addition & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
apt_repository:
repo: "{{ haproxy_ppa }}"
update_cache: true
when: "{{ haproxy_use_ppa }}"
tags:
- haproxy-install-add-repository

Expand Down

0 comments on commit 3f7807e

Please sign in to comment.