specify ubuntu user, ansible performance tweaks
diff --git a/ansible.cfg b/ansible.cfg
index 090a37d..7ee9c04 100644
--- a/ansible.cfg
+++ b/ansible.cfg
@@ -3,3 +3,6 @@
[defaults]
callback_whitelist = profile_tasks
+host_key_checking = false
+forks=20
+
diff --git a/roles/create-vms/files/docker-install-playbook.yml b/roles/create-vms/files/docker-install-playbook.yml
index 6d63f0f..a9656cf 100644
--- a/roles/create-vms/files/docker-install-playbook.yml
+++ b/roles/create-vms/files/docker-install-playbook.yml
@@ -34,10 +34,9 @@
cache_valid_time=3600
name=docker-engine
- - name: Make user part of the Docker group
+ - name: Make ubuntu user part of the Docker group
user:
- name={{ ansible_user_id }}
- groups="docker" append=yes
+ name="ubuntu" groups="docker" append=yes
# https://docs.docker.com/compose/install/#install-using-pip
- name: Install docker-compose from PyPi