PLAY [localhost] ***************************************************************************************************************************************************************************************************************************
TASK [tls : include_tasks] ***************************************************************************************************************************************************************************************************************** included: /root/ansible/roles/tls/tasks/do.yml for localhost included: /root/ansible/roles/tls/tasks/do.yml for localhost included: /root/ansible/roles/tls/tasks/do.yml for localhost included: /root/ansible/roles/tls/tasks/do.yml for localhost
... [root@consul ansible]# ll total 80 -rw-r--r-- 1 root root 84 Oct 11 20:18 ansible.cfg -rw-r--r-- 1 root root 227 Oct 14 16:34 consul-agent-ca-key.pem -rw-r--r-- 1 root root 1253 Oct 14 16:34 consul-agent-ca.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-cli-consul-0-key.pem -rw-r--r-- 1 root root 1086 Oct 14 16:34 dc1-cli-consul-0.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-client-consul-0-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-client-consul-0.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-client-consul-1-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-client-consul-1.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-server-consul-0-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-server-consul-0.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-server-consul-1-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-server-consul-1.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-server-consul-2-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-server-consul-2.pem drwxr-xr-x 2 root root 4096 Oct 11 20:20 group_vars drwxr-xr-x 2 root root 4096 Oct 14 09:50 inventory drwxr-xr-x 5 root root 4096 Oct 14 10:03 roles -rw-r--r-- 1 root root 61 Oct 14 10:40 03-server.yml -rw-r--r-- 1 root root 63 Oct 11 20:20 02-tls.yml
PLAY [localhost] ***************************************************************************************************************************************************************************************************************************
TASK [tls : include_tasks] ***************************************************************************************************************************************************************************************************************** included: /root/ansible/roles/tls/tasks/do.yml for localhost included: /root/ansible/roles/tls/tasks/do.yml for localhost included: /root/ansible/roles/tls/tasks/do.yml for localhost included: /root/ansible/roles/tls/tasks/do.yml for localhost
... [root@consul ansible]# ll total 80 -rw-r--r-- 1 root root 84 Oct 11 20:18 ansible.cfg -rw-r--r-- 1 root root 227 Oct 14 16:34 consul-agent-ca-key.pem -rw-r--r-- 1 root root 1253 Oct 14 16:34 consul-agent-ca.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-cli-consul-0-key.pem -rw-r--r-- 1 root root 1086 Oct 14 16:34 dc1-cli-consul-0.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-client-consul-0-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-client-consul-0.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-client-consul-1-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-client-consul-1.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-server-consul-0-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-server-consul-0.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-server-consul-1-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-server-consul-1.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-server-consul-2-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-server-consul-2.pem drwxr-xr-x 2 root root 4096 Oct 11 20:20 group_vars drwxr-xr-x 2 root root 4096 Oct 14 09:50 inventory drwxr-xr-x 5 root root 4096 Oct 14 10:03 roles -rw-r--r-- 1 root root 61 Oct 14 10:40 03-server.yml -rw-r--r-- 1 root root 63 Oct 11 20:20 02-tls.yml
PLAY [localhost] ***************************************************************************************************************************************************************************************************************************
TASK [tls : include_tasks] ***************************************************************************************************************************************************************************************************************** included: /root/ansible/roles/tls/tasks/do.yml for localhost included: /root/ansible/roles/tls/tasks/do.yml for localhost included: /root/ansible/roles/tls/tasks/do.yml for localhost included: /root/ansible/roles/tls/tasks/do.yml for localhost
... [root@consul ansible]# ll total 80 -rw-r--r-- 1 root root 84 Oct 11 20:18 ansible.cfg -rw-r--r-- 1 root root 227 Oct 14 16:34 consul-agent-ca-key.pem -rw-r--r-- 1 root root 1253 Oct 14 16:34 consul-agent-ca.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-cli-consul-0-key.pem -rw-r--r-- 1 root root 1086 Oct 14 16:34 dc1-cli-consul-0.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-client-consul-0-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-client-consul-0.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-client-consul-1-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-client-consul-1.pem -rw-r--r-- 1 root root 227 Oct 14 16:35 dc1-server-consul-0-key.pem -rw-r--r-- 1 root root 1139 Oct 14 16:35 dc1-server-consul-0.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-server-consul-1-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-server-consul-1.pem -rw-r--r-- 1 root root 227 Oct 14 16:34 dc1-server-consul-2-key.pem -rw-r--r-- 1 root root 1143 Oct 14 16:34 dc1-server-consul-2.pem drwxr-xr-x 2 root root 4096 Oct 11 20:20 group_vars drwxr-xr-x 2 root root 4096 Oct 14 09:50 inventory drwxr-xr-x 5 root root 4096 Oct 14 10:03 roles -rw-r--r-- 1 root root 61 Oct 14 10:40 03-server.yml -rw-r--r-- 1 root root 63 Oct 11 20:20 02-tls.yml
PLAY [server] ******************************************************************************************************************************************************************************************************************************
TASK [server : create user for consul running] ********************************************************************************************************************************************************************************************* ok: [172.19.0.3] ok: [172.19.0.4] ok: [172.19.0.5]