File tree 5 files changed +19
-24
lines changed
src/main/scripts/ci/ansible
roles/mystamps-nginx/tasks
5 files changed +19
-24
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ before_script:
26
26
mkdir -p /tmp/uploads /tmp/preview;
27
27
cp src/main/resources/test/test.png /tmp/uploads/1.png;
28
28
npm install -g bootlint;
29
- pip install --user html5validator robotframework-lint ansible==2.4.6.0 ansible-lint;
29
+ pip install --user html5validator robotframework-lint ansible==2.5.15 ansible-lint;
30
30
if [ "$TRAVIS_PULL_REQUEST" != 'false' ]; then
31
31
gem install danger nokogiri --no-ri --no-rdoc;
32
32
fi;
Original file line number Diff line number Diff line change 15
15
stat :
16
16
path : " {{ local_war_dir }}/mystamps.war"
17
17
get_checksum : no
18
- get_md5 : no
19
18
register : war_file
20
19
become : no
21
20
delegate_to : 127.0.0.1
Original file line number Diff line number Diff line change 26
26
roles :
27
27
- php-coder.oraclejdk
28
28
- mystamps-user
29
- - { role: mystamps-app, tags: app }
30
- - {
31
- role : php-coder.nginx,
32
- remove_default_vhost : yes,
29
+ - role : mystamps-app
30
+ tags : app
31
+ - role : php-coder.nginx
32
+ vars :
33
+ remove_default_vhost : yes
33
34
state : stopped
34
- }
35
- - { role: mystamps-nginx, tags: ssl }
36
- - {
37
- role : mystamps-backup,
38
- tags : backup,
39
- when : profile == 'prod'
40
- }
35
+ - role : mystamps-nginx
36
+ tags : ssl
37
+ - role : mystamps-backup
38
+ when : profile == 'prod'
39
+ tags : backup
Original file line number Diff line number Diff line change 24
24
owner : root
25
25
group : root
26
26
mode : ' 0644'
27
- with_items :
27
+ loop :
28
28
- mystamps-http.conf
29
29
- mystamps-ssl.conf
30
30
- mystamps-static.conf
40
40
owner : root
41
41
group : root
42
42
mode : ' 0644'
43
- with_items :
43
+ loop :
44
44
- 503.en.html
45
45
- 503.ru.html
46
46
notify :
60
60
owner : root
61
61
group : nginx
62
62
mode : ' 0640'
63
- with_items :
63
+ loop :
64
64
- my-stamps.ru.key
65
65
- my-stamps.ru.crt
66
66
notify :
Original file line number Diff line number Diff line change 32
32
- role : php-coder.oraclejdk
33
33
- role : mystamps-user
34
34
- role : mystamps-app
35
- - {
36
- role : php-coder.nginx,
37
- remove_default_vhost : yes,
35
+ - role : php-coder.nginx
36
+ vars :
37
+ remove_default_vhost : yes
38
38
state : stopped
39
- }
40
39
- role : mystamps-nginx
41
- - {
42
- role : mystamps-backup,
43
- when : profile == 'prod'
44
- }
40
+ - role : mystamps-backup
41
+ when : profile == 'prod'
You can’t perform that action at this time.
0 commit comments