File tree 6 files changed +13
-794
lines changed
6 files changed +13
-794
lines changed Original file line number Diff line number Diff line change 29
29
python-version : ' 3.x'
30
30
31
31
- name : Install test dependencies.
32
- run : pip3 install ansible-lint molecule[docker] molecule-goss yamllint
32
+ run : pip3 install ansible-lint==4.3.7 molecule[docker] molecule-goss yamllint
33
33
34
34
- name : Run Molecule tests.
35
35
run : molecule test -s docker
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -22,4 +22,9 @@ galaxy_info:
22
22
- web
23
23
notifications :
24
24
webhooks : https://galaxy.ansible.com/api/v1/notifications/
25
- dependencies : []
25
+
26
+ dependencies :
27
+ - role : systemli.apt_repositories
28
+ vars :
29
+ apt_repositories :
30
+ - preset : torproject
Original file line number Diff line number Diff line change
1
+ ---
2
+
3
+ - src : systemli.apt_repositories
Original file line number Diff line number Diff line change 1
1
---
2
2
dependency :
3
3
name : galaxy
4
+ options :
5
+ role-file : molecule/default/requirements.yml
6
+ force : false
4
7
driver :
5
8
name : docker
6
9
platforms :
Original file line number Diff line number Diff line change 4
4
pkg : gnupg
5
5
update_cache : True
6
6
7
- - name : Ensure apt_preferences include file for deb.torproject.org is present
8
- copy :
9
- src : apt/preferences.d/deb.torproject.org.pref
10
- dest : /etc/apt/preferences.d/deb.torproject.org.pref
11
- mode : 0644
12
- owner : root
13
- group : root
14
-
15
- # required to allow installation of packages from torproject repo
16
- - name : ensure the repository key is present
17
- apt_key :
18
- data : " {{ lookup('file', 'torproject.asc') }}"
19
- state : " {{ onion_tor_apt_state }}"
20
- id : " {{ onion_tor_apt_key_id }}"
21
-
22
- - name : ensure the required repository is present
23
- apt_repository :
24
- repo : " deb {{ 'https' if ansible_distribution == 'Debian' and ansible_distribution_major_version|int >= 10 else 'http' }}\
25
- ://deb.torproject.org/torproject.org {{ ansible_distribution_release }} main"
26
- mode : 0600
27
-
28
7
- name : ensure tor is installed
29
8
apt :
30
9
pkg : tor
You can’t perform that action at this time.
0 commit comments