diff --git a/CHANGELOG.md b/CHANGELOG.md index 40b0280d..b5ea43df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -299,3 +299,7 @@ spurious races cause failure to re-establish cluster quorum when doing so - CONSUL_VERSION environment variable - Deprecated default variables cleanup + +## v1.6.3 + +- Ensure that all local_action tasks have become: no (thanks @itewk) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 4d8bcdde..d08a512b 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -9,3 +9,4 @@ Thank you to all these fine folk for helping with ansible-consul! - [@crumohr](https://github.com/crumohr) - [@kostyrevaa](https://github.com/kostyrevaa) - [@violuke](https://github.com/violuke) +- [itewk](https://github.com/itewk) diff --git a/tasks/acl.yml b/tasks/acl.yml index 18b3c974..57113c12 100644 --- a/tasks/acl.yml +++ b/tasks/acl.yml @@ -14,6 +14,7 @@ - name: Writing ACL master token locally to share with other servers that are new local_action: copy content={{ consul_acl_master_token }} dest=/tmp/acl_master_token + become: no when: consul_acl_master_token is defined - name: Reading ACL master token for servers that are missing it @@ -22,6 +23,7 @@ - name: Deleting ACL master token file local_action: file path=/tmp/acl_master_token state=absent + become: no - block: - name: Look for an existing ACL replication token on a previously boostrapped server @@ -35,6 +37,7 @@ - name: Writing ACL replication token locally to share with other servers that are new local_action: copy content={{ consul_acl_replication_token }} dest=/tmp/acl_replication_token + become: no when: consul_acl_replication_token is defined - name: Reading ACL replication token for servers that are missing it @@ -42,6 +45,7 @@ when: consul_acl_replication_token is not defined - name: Deleting ACL replication token file + become: no local_action: file path=/tmp/acl_replication_token state=absent - block: diff --git a/tasks/main.yml b/tasks/main.yml index 6ffb5661..36803c03 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -69,6 +69,7 @@ - name: Writing key locally to share with other servers that are new local_action: copy content={{ consul_raw_key }} dest=/tmp/consul_raw.key + become: no when: consul_raw_key is defined and bootstrap_marker.stat.exists - name: Reading key for servers that are missing it @@ -77,6 +78,7 @@ - name: Deleting key file local_action: file path=/tmp/consul_raw.key state=absent + become: no when: consul_raw_key is defined and bootstrap_marker.stat.exists - block: diff --git a/version.txt b/version.txt index 103ae529..e37df95e 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -v1.6.2 +v1.6.3