Skip to content

Commit 9c36ff3

Browse files
committed
Merge branch 'release/1.2.2'
2 parents cd8819c + b7b64ac commit 9c36ff3

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="1.2.2"></a>
2+
### 1.2.2 (2017-02-07)
3+
4+
5+
#### Features
6+
7+
* ensure file exists only changes when file is created ([41cbbbc6](https://github.com/weareinteractive/ansible-environment/commit/41cbbbc626a702574d25da3cc07b24feed36d00e))
8+
9+
10+
111
<a name="1.2.0"></a>
212
## 1.2.0 (2016-07-25)
313

tasks/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
owner: "{{ environment_file_owner }}"
77
group: "{{ environment_file_group }}"
88
state: touch
9+
register: environment_file_result
10+
changed_when: environment_file_result.diff.before.state != "file"
911

1012
- name: Remove previous values
1113
lineinfile:

0 commit comments

Comments
 (0)