Browse Source

Изменить 'project.yml'

Vladimir Smagin 2 months ago
parent
commit
32160d8efc
1 changed files with 2 additions and 17 deletions
  1. 2
    17
      project.yml

+ 2
- 17
project.yml View File

@@ -1,4 +1,5 @@
1 1
 ---
2
+# special task with python3 interpreter to install python2
2 3
 - name: Checkout python2
3 4
   hosts: project
4 5
   vars:
@@ -6,24 +7,8 @@
6 7
   roles:
7 8
     - python2
8 9
 
10
+# next tasks you can run as usual
9 11
 - name: Configure platform
10 12
   hosts: project
11 13
   roles:
12 14
     - system
13
-    - nginx
14
-
15
-- name: Configure balancers
16
-  hosts: project-balancers
17
-  roles:
18
-    - certbot
19
-    - nginx-balancer
20
-
21
-- name: Configure nodes
22
-  hosts: project-nodes
23
-  roles:
24
-    - mongodb
25
-    - nginx-node
26
-    - php-fpm
27
-    - deploy
28
-
29
-

Loading…
Cancel
Save