-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathinstall_basic_services.yml
59 lines (50 loc) · 1.1 KB
/
install_basic_services.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
49
50
51
52
53
54
55
56
57
58
59
---
- name: Install Basic Services and Configurations
hosts: raspberries
become: true
vars_files:
- vars/config_vars.yml
pre_tasks:
- name: Update packages
import_role:
name: update_packages
tags: always
- name: Set security configurations
import_role:
name: secure_server
tags: secure
- name: Add Swap memory
import_role:
name: add_swap
tags: swap
tasks:
- name: Install common system dependencies
apt:
name:
- openssl
- libssl-dev
- cmake
- g++
- gcc
- git
state: present
- name: Install and configure Nginx
import_role:
name: install_nginx
tags: nginx
when: install_nginx
- name: Install and configure Postgresql
import_role:
name: install_postgresql
tags: postgresql
when: install_postgresql
- name: Install R
import_role:
name: install_r
tags: r
- name: Configure R
import_role:
name: configure_r
tags:
- r
- configure_r