generate ssh key pair
Change-Id: I9f7cbdb0ba9379eed262cc211a5eff2be5b05f8a
diff --git a/ansible/roles/common/tasks/main.yml b/ansible/roles/common/tasks/main.yml
index b7d5eb2..7084802 100644
--- a/ansible/roles/common/tasks/main.yml
+++ b/ansible/roles/common/tasks/main.yml
@@ -32,7 +32,7 @@
state: directory
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
- mode: 0700
+ mode: "0700"
tags: [common]
- name: Ensure known_hosts file is absent
@@ -47,6 +47,6 @@
dest: /home/{{ ansible_user }}/.ssh/config
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
- mode: 0600
+ mode: "0600"
tags: [common]
diff --git a/ansible/roles/consul-template/tasks/main.yml b/ansible/roles/consul-template/tasks/main.yml
index 06a5e03..2e2bc6d 100644
--- a/ansible/roles/consul-template/tasks/main.yml
+++ b/ansible/roles/consul-template/tasks/main.yml
@@ -8,12 +8,12 @@
copy:
src: consul-template
dest: /usr/local/bin/consul-template
- mode: 0755
+ mode: "0755"
tags: [consul-template]
- name: Example template is copied
copy:
src: example.ctmpl
dest: /data/consul-template/example.ctmpl
- mode: 0644
+ mode: "0644"
tags: [consul-template]
diff --git a/ansible/roles/docker-compose/tasks/main.yml b/ansible/roles/docker-compose/tasks/main.yml
index 3845f4a..41ed8cc 100644
--- a/ansible/roles/docker-compose/tasks/main.yml
+++ b/ansible/roles/docker-compose/tasks/main.yml
@@ -2,4 +2,4 @@
get_url:
url: https://github.com/docker/compose/releases/download/1.6.2/docker-compose-Linux-x86_64
dest: /usr/local/bin/docker-compose
- mode: 0755
+ mode: "0755"
diff --git a/ansible/roles/docker/templates/docker.cfg b/ansible/roles/docker/templates/docker.cfg
index 7dfff7b..467a304 100644
--- a/ansible/roles/docker/templates/docker.cfg
+++ b/ansible/roles/docker/templates/docker.cfg
@@ -1,3 +1,3 @@
-DOCKER_OPTS="$DOCKER_OPTS --insecure-registry 10.100.198.200:5000 -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock --registry-mirror=http://10.100.198.200:5001"
+DOCKER_OPTS="$DOCKER_OPTS --insecure-registry 10.100.198.200:5000 -H unix:///var/run/docker.sock --registry-mirror=http://10.100.198.200:5001"
DOCKER_OPTS="$DOCKER_OPTS --insecure-registry 10.100.198.201:5000"
diff --git a/ansible/roles/fakeswitch/tasks/main.yml b/ansible/roles/fakeswitch/tasks/main.yml
index 39879e9..efddbf9 100644
--- a/ansible/roles/fakeswitch/tasks/main.yml
+++ b/ansible/roles/fakeswitch/tasks/main.yml
@@ -10,7 +10,7 @@
path: "{{ item }}"
owner: root
group: root
- mode: 0755
+ mode: "0755"
state: directory
with_items:
- /mnt/flash2
@@ -23,7 +23,7 @@
dest: /usr/bin/{{ item }}
owner: root
group: root
- mode: 0755
+ mode: "0755"
with_items:
- persist
- savepersist