From 993a236377159f8d1c2d9d8620c7853e281a8965 Mon Sep 17 00:00:00 2001 From: Max Veytsman Date: Fri, 9 Jun 2017 13:48:04 -0400 Subject: [PATCH] Appcanary package should be at latest state --- tasks/debian.yml | 2 +- tasks/redhat.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/debian.yml b/tasks/debian.yml index 4ae5e10..dc8c8a1 100644 --- a/tasks/debian.yml +++ b/tasks/debian.yml @@ -12,4 +12,4 @@ apt_repository: repo='deb https://packagecloud.io/appcanary/agent/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} main' state=present update_cache=yes - name: Install appcanary agent - apt: name=appcanary state=present update_cache=yes + apt: name=appcanary state=latest update_cache=yes diff --git a/tasks/redhat.yml b/tasks/redhat.yml index aabfe86..d4c79f8 100644 --- a/tasks/redhat.yml +++ b/tasks/redhat.yml @@ -11,4 +11,4 @@ shell: yum -q makecache -y --disablerepo='*' --enablerepo='appcanary_agent' - name: Install appcanary agent - yum: name=appcanary state=present + yum: name=appcanary state=latest