-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
48 lines (48 loc) · 1.14 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
- hosts: demeter
become: yes
tasks:
- name: updateOS
yum: name=* state=latest
- name: installs
yum: name={{ item }} state=latest
with_items:
- docker-engine-selinux
- vim
- docker-engine
- git
- libselinux-python
- epel-release
- iotop
- mlocate
- mc
- nano
- wget
- curl
- htop
- iftop
- python-pip
- name: install docker-py
pip: state=present name=docker-py
- name: set time
file: src=/usr/share/zoneinfo/Europe/Kiev dest=/etc/localtime state=link force=yes
- name: add vim options
lineinfile:
dest: /etc/vimrc
state: present
line: "{{ item }}"
with_items:
- "set ls=2"
- "colorscheme slate"
- "set scrolloff=5"
- "syntax enable"
- "set nocompatible"
- "set autoindent"
- "set tabstop=3"
- "set cursorline"
- "hi CursorLine ctermbg=235"
- "hi Comment ctermfg=darkcyan"
- "set showmatch"
- "set hlsearch"
- "set incsearch"
- "set ignorecase"