projects
/
awsible
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
156c7b5
)
fix bug in sqs-action update
author
Justin Wind
<j.wind@partner.samsung.com>
Tue, 26 Sep 2017 17:45:51 +0000
(10:45 -0700)
committer
Justin Wind
<j.wind@partner.samsung.com>
Tue, 26 Sep 2017 17:45:51 +0000
(10:45 -0700)
sqs-action.py
patch
|
blob
|
history
diff --git
a/sqs-action.py
b/sqs-action.py
index 3a5d8bed4d5d2476084fa129c04e74eee2f5410f..7cad07910214cb4f3fb0cf85420a29fa55f939ee 100755
(executable)
--- a/
sqs-action.py
+++ b/
sqs-action.py
@@
-45,7
+45,7
@@
def handleEvent(message, event, ASGName, InstanceId):
notice += ['SUCCESS']
message.delete()
if os.path.isfile(os.path.join(args.playbooks, ASGName + '-post.yml')):
- postnotice = [' '.join(
ASGName, 'post', event
)]
+ postnotice = [' '.join(
[ASGName, 'post', event]
)]
cmd = [ANSIBLE_PLAYBOOK_CMD, ASGName + '-post.yml']
p = Popen(cmd, cwd=args.playbooks, stdout=PIPE, stderr=PIPE)
(stdoutdata, stderrdata) = p.communicate()