@@ -11,72 +11,47 @@ class Ansible < UrlScraper
11
11
12
12
options [ :attribution ] = <<-HTML
13
13
© 2012–2018 Michael DeHaan< br >
14
- © 2018 Red Hat, Inc.< br >
14
+ © 2018–2019 Red Hat, Inc.< br >
15
15
Licensed under the GNU General Public License version 3.
16
16
HTML
17
17
18
- version '2.7' do
19
- self . release = '2.7.1'
20
- self . base_url = 'https://docs.ansible.com/ansible/2.7/'
18
+ options [ :skip ] = %w(
19
+ installation_guide/index.html
20
+ reference_appendices/glossary.html
21
+ reference_appendices/faq.html
22
+ reference_appendices/tower.html
23
+ user_guide/quickstart.html
24
+ modules/modules_by_category.html
25
+ modules/list_of_all_modules.html )
21
26
22
- options [ :skip ] = %w(
23
- installation_guide/index.html
24
- reference_appendices/glossary.html
25
- reference_appendices/faq.html
26
- reference_appendices/tower.html
27
- user_guide/quickstart.html
28
- modules/modules_by_category.html
29
- modules/list_of_all_modules.html )
27
+ options [ :skip_patterns ] = [
28
+ /\A community.*/i ,
29
+ /\A dev_guide.*/i ,
30
+ /\A roadmap.*/i ,
31
+ ]
30
32
31
- options [ :skip_patterns ] = [
32
- /\A community.*/i ,
33
- /\A dev_guide.*/i ,
34
- /\A roadmap.*/i ,
35
- ]
33
+ version '2.8' do
34
+ self . release = '2.8.3'
35
+ self . base_url = 'https://docs.ansible.com/ansible/2.7/'
36
+ end
37
+
38
+ version '2.7' do
39
+ self . release = '2.7.12'
40
+ self . base_url = 'https://docs.ansible.com/ansible/2.7/'
36
41
end
37
42
38
43
version '2.6' do
39
- self . release = '2.6.7 '
44
+ self . release = '2.6.18 '
40
45
self . base_url = 'https://docs.ansible.com/ansible/2.6/'
41
-
42
- options [ :skip ] = %w(
43
- installation_guide/index.html
44
- reference_appendices/glossary.html
45
- reference_appendices/faq.html
46
- reference_appendices/tower.html
47
- user_guide/quickstart.html
48
- modules/modules_by_category.html
49
- modules/list_of_all_modules.html )
50
-
51
- options [ :skip_patterns ] = [
52
- /\A community.*/i ,
53
- /\A dev_guide.*/i ,
54
- /\A roadmap.*/i ,
55
- ]
56
46
end
57
47
58
48
version '2.5' do
59
- self . release = '2.5.3 '
49
+ self . release = '2.5.15 '
60
50
self . base_url = 'https://docs.ansible.com/ansible/2.5/'
61
-
62
- options [ :skip ] = %w(
63
- installation_guide/index.html
64
- reference_appendices/glossary.html
65
- reference_appendices/faq.html
66
- reference_appendices/tower.html
67
- user_guide/quickstart.html
68
- modules/modules_by_category.html
69
- modules/list_of_all_modules.html )
70
-
71
- options [ :skip_patterns ] = [
72
- /\A community.*/i ,
73
- /\A dev_guide.*/i ,
74
- /\A roadmap.*/i ,
75
- ]
76
51
end
77
52
78
53
version '2.4' do
79
- self . release = '2.4.3 '
54
+ self . release = '2.4.6 '
80
55
self . base_url = 'https://docs.ansible.com/ansible/2.4/'
81
56
82
57
options [ :skip ] = %w(
@@ -86,6 +61,7 @@ class Ansible < UrlScraper
86
61
tower.html
87
62
quickstart.html
88
63
list_of_all_modules.html )
64
+ options [ :skip_patterns ] = [ ]
89
65
end
90
66
91
67
def get_latest_version ( opts )
0 commit comments