changeset 0 | 5f4fcbc80b37 |
child 2 | f72ffe8b30b1 |
-1:000000000000 | 0:5f4fcbc80b37 |
---|---|
1 --- |
|
2 # |
|
3 # all actions |
|
4 # |
|
5 - hosts: all |
|
6 become: true |
|
7 tasks: |
|
8 - name: install deps |
|
9 apk: |
|
10 name: python-dev,python3-dev,py-virtualenv,nginx,supervisor,shadow,build-base,musl-dev,gcc,linux-headers |
|
11 update_cache: yes |
|
12 - name: create etc supervisor.d folder |
|
13 file: |
|
14 path: /etc/supervisor.d |
|
15 state: directory |
|
16 - name: starts supervisord |
|
17 service: |
|
18 name: supervisord |
|
19 state: started |