centos7 ansible
docker/vctl pull 860492946/centosssh:7
docker/vctl run -itd --name=sshc7 860492946/centosssh:7
docker exec -it sshc7 /bin/bash
curl http://mirrors.aliyun.com/repo/Centos-7.repo > /etc/yum.repos.d/CentOS-Base.repo
or
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum install -y epel-release
yum install -y ansible
ls -la /etc/ansible/
[root@a7f6aba79bba /]# ls -la /etc/ansible/
total 24
drwxr-xr-x. 3 root root 51 Feb 24 10:17 .
drwxr-xr-x. 1 root root 70 Feb 24 10:18 ..
-rw-r--r--. 1 root root 19985 Jan 15 21:55 ansible.cfg
-rw-r--r--. 1 root root 1016 Jan 15 21:55 hosts
drwxr-xr-x. 2 root root 6 Jan 15 21:55 roles