From b71cfcc2baa6a14b83164718dc0b9b707e4c641a Mon Sep 17 00:00:00 2001 From: Brian Shumate Date: Fri, 6 Jan 2017 19:44:02 -0500 Subject: [PATCH] Fix cleanup --- CHANGELOG.md | 5 +++++ README.md | 4 ++-- tasks/install.yml | 3 ++- version.txt | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1311784c..9a3f09a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -307,3 +307,8 @@ ## v1.7.0 - Consul version 0.7.2 + +## v1.7.2 + +- Fix non-working cleanup task +- Update README diff --git a/README.md b/README.md index e0bed290..c86abd64 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ with other software versions, but does work with the following specific software and versions: * Ansible: 2.2.0.0 -* Consul: 0.7.1 +* Consul: 0.7.2 * Debian: 8 * CentOS: 7 @@ -30,7 +30,7 @@ inventory file (see below): | Name | Default Value | Description | | -------------- | ------------- | -----------------------------------| -| `consul_version` | *0.7.1* | Version to install | +| `consul_version` | *0.7.2* | Version to install | | `consul_zip_url` | `https://releases.hashicorp.com/consul/{{ consul_version }}/consul_{{ consul_version }}_linux_amd64.zip` | Download URL | | `consul_checksum_file_url` | https://releases.hashicorp.com/consul/0.7.1/consul_0.7.1_SHA256SUMS | URL to package SHA256 summaries | | `consul_bin_path` | `/usr/local/bin` | Binary installation path | diff --git a/tasks/install.yml b/tasks/install.yml index be34126d..c5c4ee6a 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -42,6 +42,7 @@ - name: Cleanup become: no connection: local - file: "dest={{ role_path }}/files/consul* state=absent" + file: "path={{ item }} state=absent" + with_fileglob: "{{ role_path }}/files/consul*" run_once: true tags: installation diff --git a/version.txt b/version.txt index b13f0e3b..8de1fd27 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -v1.7.0 +v1.7.2