Skip to content

Commit

Permalink
Merge pull request #63 from evrardjp/add_python_apt
Browse files Browse the repository at this point in the history
Do not imply python-apt is installed
  • Loading branch information
evrardjp authored Mar 3, 2018
2 parents 8bf7ebf + 736ae0b commit 64764d2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tasks/keepalived_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@
tags:
- keepalived-repo

- name: Ensure python apt is installed
apt:
name: python-apt
state: present
when:
- ansible_pkg_mgr == 'apt'
tags:
- keepalived-apt-packages

- name: Check if keepalived is already installed
package:
name: "{{ keepalived_package_name }}"
Expand Down

0 comments on commit 64764d2

Please sign in to comment.