-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetupdots.yml
More file actions
41 lines (38 loc) · 834 Bytes
/
setupdots.yml
File metadata and controls
41 lines (38 loc) · 834 Bytes
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
---
- hosts: localhost
become: true
gather_facts: true
gather_subset:
- '!all'
tasks:
- name: Packages CentOS/RHEL
package:
name:
- epel-release
- /usr/bin/pip
- bind-utils
state: present
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
- name: Packages Ubuntu
package:
name:
- python3-pip
state: present
when: ansible_distribution == 'Ubuntu'
- name: Packages
package:
name:
- git
- vim
- pwgen
- tmux
- rsync
- bash-completion
- ack
- python
- wget
- curl
state: present
- name: install pip resources
pip:
name: ansible-lint