Skip to content

Commit

Permalink
Merge pull request ansible#6830 from angstwad/cf-fix
Browse files Browse the repository at this point in the history
rax_files fix -- small idempotency fix
  • Loading branch information
mpdehaan committed Apr 2, 2014
2 parents 47a4618 + 3763b32 commit 7db7e86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/cloud/rax_files
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def container(cf, module, container_, state, meta_, clear_meta, ttl, public, pri
except Exception, e:
module.fail_json(msg=e.message)
else:
EXIT_DICT['changed'] = True
EXIT_DICT['created'] = True
else:
module.fail_json(msg=e.message)
Expand Down Expand Up @@ -312,8 +313,7 @@ def container(cf, module, container_, state, meta_, clear_meta, ttl, public, pri

_locals = locals().keys()

if ('cont_created' in _locals
or 'cont_deleted' in _locals
if ('cont_deleted' in _locals
or 'meta_set' in _locals
or 'cont_public' in _locals
or 'cont_private' in _locals
Expand Down

0 comments on commit 7db7e86

Please sign in to comment.