Skip to content

Commit

Permalink
Fix compatibility with new Ansible 2.8.0
Browse files Browse the repository at this point in the history
Fixes build failure:
```
{"reason": "'become' is not a valid attribute for a TaskInclude\n\nThe error appears to be in '/tmp/kitchen/roles/StackStorm.ewc/tasks/license.yml': line 59, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: \"Cleanup repo list file from disk\"\n  ^ here\n"}
```
  • Loading branch information
armab committed May 18, 2019
1 parent 0f99b77 commit 232a31a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion roles/StackStorm.ewc/tasks/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
- enterprise

- name: "Cleanup repo list file from disk"
become: yes
include_tasks: "ewc_repos_cleanup_{{ ansible_facts.pkg_mgr }}.yml"
when: ewc_license | hash("sha512") != ewc_license_hash
tags:
Expand Down

0 comments on commit 232a31a

Please sign in to comment.