Commit 37e1450 1 parent 31cfc5a commit 37e1450 Copy full SHA for 37e1450
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 12
12
owner : proserver
13
13
mode : " 0755"
14
14
loop :
15
- - " {{ roadrunner.prefix.current_release }} "
16
- - " {{ roadrunner.prefix.current_release }} /public"
15
+ - " /var/www/current "
16
+ - " /var/www/current /public"
17
17
18
18
- name : Copy the example PHP script
19
19
ansible.builtin.copy :
20
20
src : " molecule/files/app.php"
21
- dest : " {{ roadrunner.prefix.current_release }} /app.php"
21
+ dest : " /var/www/current /app.php"
22
22
23
23
- name : Initialize the composer project
24
24
community.general.composer :
25
25
command : create-project
26
- arguments : " punktde/roadrunner-test {{ roadrunner.prefix.current_release }} ~1.0"
27
- working_dir : " {{ roadrunner.prefix.current_release }} "
26
+ arguments : " punktde/roadrunner-test /var/www/current ~1.0"
27
+ working_dir : " /var/www/current "
28
28
prefer_dist : true
29
29
30
30
- name : Install PHP dependencies
31
31
community.general.composer :
32
32
command : require
33
33
arguments : " {{ item }}"
34
- working_dir : " {{ roadrunner.prefix.current_release }} "
34
+ working_dir : " /var/www/current "
35
35
loop :
36
36
- " nyholm/psr7"
37
37
- " spiral/roadrunner"
45
45
46
46
- name : Check that a page returns successfully but fail if the word AWESOME is not in the page contents
47
47
ansible.builtin.uri :
48
- url : http://{{ roadrunner.defaults.http.address }}
48
+ url : http://localhost:8080
49
49
return_content : true
50
50
register : this
51
51
failed_when : this is failed or "'Hello world' not in this.content"
You can’t perform that action at this time.
0 commit comments