Skip to content

Commit

Permalink
ansible: synchronize module needs '.docker_cmd' attr for Docker plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
dw committed Jan 27, 2019
1 parent 137f5fa commit dc1d425
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansible_mitogen/plugins/connection/mitogen_docker.py
Expand Up @@ -42,3 +42,10 @@

class Connection(ansible_mitogen.connection.Connection):
transport = 'docker'

@property
def docker_cmd(self):
"""
Ansible 2.3 synchronize module wants to know how we run Docker.
"""
return 'docker'

0 comments on commit dc1d425

Please sign in to comment.