Skip to content

Commit

Permalink
v0.5.1
Browse files Browse the repository at this point in the history
- Use `ansible_failed_result` instead of `ansible_failed_task` to avoid undefined variable embedded
  • Loading branch information
Cedric Poon committed Dec 13, 2020
1 parent 56dcaa1 commit d2680dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/main.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
rescue:
- name: proflow | record failed task info
set_fact:
__failed__: "{{'{{'}} ansible_failed_task {{'}}'}}"
__failed__: "{{'{{'}} ansible_failed_result | combine({ 'role': ansible_role_name }) {{'}}'}}"

- name: proflow | failure without rollback
fail:
Expand Down
4 changes: 2 additions & 2 deletions vars/galaxy.src.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
namespace: cedricpoon
name: proflow
version: 0.5.0
version: 0.5.1
readme: README.md
authors:
- Cedric Poon <cedric@poons.me>
description: to regulate provisioning flow through state management for roles
description: Proflow to regulate provisioning flow through state management for roles
license:
- MIT
tags:
Expand Down

0 comments on commit d2680dd

Please sign in to comment.