-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.yml
More file actions
74 lines (62 loc) · 1.68 KB
/
main.yml
File metadata and controls
74 lines (62 loc) · 1.68 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
- name: Installing system packages
hosts: all
tasks:
- import_tasks: tasks/install_dependencies.yml
tags:
- system
- name: Several global administration tasks
hosts: all
tasks:
- import_tasks: tasks/global_administration.yml
vars:
hostname: "{{ host_name }}"
tags:
- system
#- firewalld: port=2223-65535/tcp permanent=true state=enabled
# become: yes
#- name: "Allow HTTPS"
# firewalld:
# service: https
# permanent: true
# state: enabled
# become: yes
#- name: "Allow HTTP"
# firewalld:
# service: https
# permanent: true
# state: enabled
# become: yes
#- name: Installing Jenkins
# hosts: all
# vars:
# jenkins_version: '{{ version_jenkins }}'
# jenkins_package_state: "present"
# jenkins_http_port: '{{ port_jenkins }}'
# jenkins_admin_username: '{{ user_jenkins }}'
# jenkins_admin_password: '{{ password_jenkins }}'
# jenkins_plugins: ["cloverphp", "cobertura", "docker-workflow", "embeddable-build-status", "jdepend", "analysis-collector", "xunit", "violations"]
# roles:
# - role: geerlingguy.jenkins
# become: true
# tasks:
# - import_tasks: tasks/install_dev_tools.yml
# tags:
# - development
- name: "Creating services"
hosts: all
tasks:
- import_tasks: tasks/install_services.yml
tags:
- services
- name: "Importing data and configuring services"
hosts: balin
tasks:
- import_tasks: tasks/services/data/piwigo.yml
- import_tasks: tasks/services/configuration/piwigo.yml
- import_tasks: tasks/services/data/nextcloud.yml
tags:
- services
- configuration
roles:
- reverseproxy