-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages.yaml
63 lines (58 loc) · 1.26 KB
/
packages.yaml
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
49
50
51
52
53
54
55
56
57
58
59
---
- hosts: localhost
tasks:
- name: Install python3
package:
name: python3
state: present
update_cache: yes
- name: Install python3-devel
package:
name: python3-devel
state: present
update_cache: yes
- name: Install python-pip
package:
name: python-pip
state: present
update_cache: yes
- name: Install yum
package:
name: yum
state: present
- name: Install emacs-nox
package:
name: emacs-nox
state: present
update_cache:
- name: Install boto
pip:
name: boto
state: present
- name: Install boto3
pip:
name: boto3
state: present
- name: Install boto3
pip:
name: botocore
state: present
- name: Install nano
package:
name: nano
state: present
- name: Install apache
package:
name: httpd
state: present
- name: Copy index.html
copy:
src: "{{ index_file }}"
dest: /var/www/html/index.html
owner: "{{ apache_user }}"
group: "{{ apache_group }}"
- name: Start apache
service:
name: httpd
state: started
enabled: true