diff options
Diffstat (limited to 'supporting/servers')
-rw-r--r-- | supporting/servers/roles/elk/tasks/main.yml | 12 | ||||
-rw-r--r-- | supporting/servers/roles/ssh/defaults/main.yml | 1 | ||||
-rw-r--r-- | supporting/servers/roles/ssh/files/zhifeng.authorized_keys | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/supporting/servers/roles/elk/tasks/main.yml b/supporting/servers/roles/elk/tasks/main.yml index 7628f378..cc544be5 100644 --- a/supporting/servers/roles/elk/tasks/main.yml +++ b/supporting/servers/roles/elk/tasks/main.yml @@ -26,6 +26,18 @@ become: true apt: name=docker-engine +- name: install pip + apt: + pkg:{{ item }} state=installed + state: installed + with_items: + - python-dev + - python-pip + +- name: install docker-py + pip: + name: docker-py + - name: pulling elasticsearch and kibana become: true docker_image: name={{ item }} state=present diff --git a/supporting/servers/roles/ssh/defaults/main.yml b/supporting/servers/roles/ssh/defaults/main.yml index 59dfd086..41ee9853 100644 --- a/supporting/servers/roles/ssh/defaults/main.yml +++ b/supporting/servers/roles/ssh/defaults/main.yml @@ -3,3 +3,4 @@ users: - { name: yujunz, comment: "Yujun Zhang <zhang.yujunz@zte.com.cn>" } - { name: taseer, comment: "Taseer Ahmed <taseer94@gmail.com>" } - { name: serena, comment: "Serena Feng <feng.xiaowei@zte.com.cn>" } + - { name: zhifeng, comment: "Zhifeng Jiang<jiang.zhifeng@zte.com.cn>" } diff --git a/supporting/servers/roles/ssh/files/zhifeng.authorized_keys b/supporting/servers/roles/ssh/files/zhifeng.authorized_keys new file mode 100644 index 00000000..195cfdca --- /dev/null +++ b/supporting/servers/roles/ssh/files/zhifeng.authorized_keys @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAuck9a5uUXLtzlTaCYhwcLDffFH8o5ldhU4iKr0D4KaXlFfUsKD7VyHN+Zck3HBWTB4U7X9FEeFINtp2v2aoY8n74TS4LUGT8yqRYLyvsh2LgrhE4ouRvYgWlrZGice2x6ZZrcGM4uoGTC/lUHEvMDGDkDxUCfhxlFWcrplCUMcgd1V/5U14s0ufDgLGyEhXWWXFW4pNoqKBEGZNChBSvnq+NvOD7I4jgStUm9REooOp/VPpubH/6mSvDSTokCvrgWSCaNpcDqLCUjhwpoT/D1oFzEd4jBfPSV3jva+eAKPE2r/dnudQR5NR8T/eUz25YRGeJfrjDP6cMgXJoG43IXQ== root@fuel.domain.tld |