Issue 1:
When i'm executing vagrant up, appears this error.

My Ansible version is: ansible_1.9.4-1

TASK: [bootstrap_containers | start database container] ***********************

failed: [localhost] => {"failed": true, "parsed": false}

BECOME-SUCCESS-vaydnjxmsrquhcgfpksenczprilvozqn

Traceback (most recent call last):

File "/home/vagrant/.ansible/tmp/ansible-tmp-1484822873.61-187869719276661/docker", line 3185, in

main()

File "/home/vagrant/.ansible/tmp/ansible-tmp-1484822873.61-187869719276661/docker", line 1513, in main

manager = DockerManager(module)

File "/home/vagrant/.ansible/tmp/ansible-tmp-1484822873.61-187869719276661/docker", line 635, in init

self.client = docker.Client(base_url=docker_url,

AttributeError: 'module' object has no attribute 'Client'

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************

to retry, use: --limit @/home/vagrant/bootstrap.retry

localhost : ok=1 changed=0 unreachable=0 failed=1

Ansible failed to complete successfully. Any error output should be

visible above. Please fix these errors and try again.

I tried everything, but nothing appears to solve the problem

Issue 2:
ISSUE TYPE

Bug Report

ANSIBLE VERSION

ansible 2.1.0.0

CONFIGURATION

$ set | grep ANSIBLE
ANSIBLE_CONFIG=/home/jim.smith/.ansible/ansible.cfg
ANSIBLE_FORCE_COLOR=true
ANSIBLE_HOSTS=/home/jim.smith/.ansible/aws/ec2.py
ANSIBLE_HOST_KEY_CHECKING=False
ANSIBLE_SSH_ARGS='-o ForwardAgent=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
ANSIBLE_TRANSPORT=ssh
export ANSIBLE_HOSTS=~/.ansible/aws/ec2.py;
export ANSIBLE_HOST_KEY_CHECKING="False";
export ANSIBLE_TRANSPORT="ssh";
export ANSIBLE_SSH_ARGS="-o ForwardAgent=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null";
export ANSIBLE_CONFIG=~/.ansible/ansible.cfg;
export ANSIBLE_FORCE_COLOR=true;
$ANSIBLE_HOSTS --refresh-cache > /dev/null;
export ANSIBLE_HOST_KEY_CHECKING="False"

OS / ENVIRONMENT

CentOS release 6.7 (Final) 64bit

SUMMARY

Modifying RDS multi_zone to no doesn't do anything.

STEPS TO REPRODUCE

- name: Change RDS Multi-AZ deployment
local_action:
module: rds
command: modify
region: "{{ aws_region }}"
instance_name: "{{ aws_db_instance_name }}"
multi_zone: "{{ aws_db_multi_zone }}"
apply_immediately: yes
wait: yes
wait_timeout: "{{ aws_db_wait_timeout }}"
register: modify_rds_multi_az
- debug: var=modify_rds_multi_az

- name: Wait for a minute for the API call to get actioned so the instance is available but modifying
pause: minutes=1

- name: Poll RDS change
local_action:
module : rds
command: facts
region: "{{ aws_region }}"
instance_name: "{{ aws_db_instance_name }}"
register: rds_facts_after
until : rds_facts_after.instance['status'] == 'available'
retries: 60
delay: 60
- debug: var=rds_facts_after

- debug: msg="vars {{ aws_db_instance_name }} {{ aws_db_multi_zone }} {{ aws_region}} {{ aws_db_wait_timeout }}"
- debug: var=rds_facts_after.instance['status']

EXPECTED RESULTS

AWS Console showing the RDS database being modified for No multi-az

Gathering rds facts for "multi_zone": false,

ACTUAL RESULTS

AWS Console show's no modification, cloudtrail show's no API requests.

rds facts module reports "multi_zone": true,

TASK [modify_multi_zone : Change RDS Multi-AZ deployment] **********************
task path: /home/jim.smith/modify_multi_zone/tasks/main.yml:8
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: jim.smith
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593 `" && echo ansible-tmp-1467897722.6-238584385008593="` echo $HOME/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593 `" ) && sleep 0'
<localhost> PUT /tmp/tmpRagNjF TO /home/jim.smith/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593/rds
<localhost> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/jim.smith/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593/rds; rm -rf "/home/jim.smith/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593/" > /dev/null 2>&1 && sleep 0'
changed: [localhost -> localhost] => {"changed": true, "instance": {"availability_zone": "eu-west-1a", "backup_retention": 30, "create_time": 1461930783.596, "endpoint": "REMOVED.eu-west-1.rds.amazonaws.com", "id": "REMOVED-prod-db1", "instance_type": "db.t2.small", "iops": null, "maintenance_window": "mon:00:00-mon:01:15", "multi_zone": true, "port": 3306, "replication_source": null, "status": "available", "username": "root", "vpc_security_groups": "sg-REMOVED"}, "invocation": {"module_args": {"apply_immediately": true, "aws_access_key": null, "aws_secret_key": null, "backup_retention": null, "backup_window": null, "character_set_name": null, "command": "modify", "db_engine": null, "db_name": null, "ec2_url": null, "engine_version": null, "force_failover": false, "instance_name": "REMOVED-prod-db1", "instance_type": null, "iops": null, "license_model": null, "maint_window": null, "multi_zone": false, "new_instance_name": null, "option_group": null, "parameter_group": null, "password": null, "port": null, "profile": null, "publicly_accessible": null, "region": "eu-west-1", "security_groups": null, "security_token": null, "size": null, "snapshot": null, "source_instance": null, "subnet": null, "tags": null, "upgrade": false, "username": null, "validate_certs": true, "vpc_security_groups": null, "wait": true, "wait_timeout": 2400, "zone": null}, "module_name": "rds"}}

TASK [modify_multi_zone : debug] ***********************************************
task path: /home/jim.smith/modify_multi_zone/tasks/main.yml:34
ok: [localhost] => {
"rds_facts_after": {
"changed": false,
"instance": {
"availability_zone": "eu-west-1a",
"backup_retention": 30,
"create_time": 1461930783.596,
"endpoint": "RMOVED.eu-west-1.rds.amazonaws.com",
"id": "REMOVED-prod-db1",
"instance_type": "db.t2.small",
"iops": null,
"maintenance_window": "mon:00:00-mon:01:15",
"multi_zone": true,
"port": 3306,
"replication_source": null,
"status": "available",
"username": "root",
"vpc_security_groups": "sg-REMOVED"
}
}
}