Skip to content

Commit 0181f31

Browse files
committed
updated requirements and MIGRATION.md explanations
MIGRATION.md contains a table to track the revision and update process of each module. Maybe it would have been better to user a GitHub Issue?
1 parent c760358 commit 0181f31

2 files changed

Lines changed: 65 additions & 18 deletions

File tree

MIGRATION.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# State of migration of each role
2+
3+
Each new role will be tested against:
4+
5+
On the controller:
6+
7+
- `python==3.7.3` (Debian Stable)
8+
- `python==3.8.2`
9+
- `ansible==2.9.6`
10+
11+
On the hosts:
12+
13+
- `python==3.7.3`
14+
- `debian==buster` (physical hosts and containers)
15+
- `openwrt` (firewall)
16+
17+
# Current status
18+
19+
## Roles
20+
21+
| Role name | Modified? | Tested? | Production? | Notes |
22+
|--------------------|:---------:|:--------:|:-----------:|------------------------------------------------------------------------------------------|
23+
|`roles/service` | **YES** | **YES** | NO | Changes in Ansible built-in `apt` module. |
24+
|`roles/ssh_server` | **YES** | **YES** | NO | `lxc_ssh.py` --> `ssh_lxc.py`. |
25+
|`roles/ca` | **YES** | ReadNote | NO | Changes in Ansible built-in `apt` module. Needs update of `ca_manager` to [1] to work. |
26+
|`prepare_host.yaml` | **YES** | NO | NO | Install `python3` and `python3-lxc` instead of version 2. |
27+
|`roles/ldap` | NO | NO | NO | |
28+
|`roles/nginx` | NO | NO | NO | |
29+
|`roles/projects` | NO | NO | NO | |
30+
|`roles/dns_record` | NO | NO | NO | |
31+
|`roles/openvpn` | NO | NO | NO | |
32+
33+
34+
## Plugins and Modules
35+
36+
| Plugin/Module name | Modified? | Tested? | Production? | Notes |
37+
|------------------------|:---------:|:---------:|:-----------:|--------------------------------------|
38+
|`connection/lxc_ssh.py` | *REMOVED* | | | |
39+
|`connection/ssh_lxc.py` | **NEW** | **YES** | NO | Replace `lxc_ssh.py`. |
40+
|`library/ssh_cert.py` | **YES** | **YES** | NO | Migrate from `python2` to `python3`. |
41+
42+
[1]: https://github.com/LILiK-117bis/ca_manager/tree/peewee3%2Brfc5280

requirements.txt

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
1-
ansible==2.2.0.0
2-
asn1crypto==0.23.0
3-
bcrypt==3.1.4
4-
cffi==1.11.2
5-
cryptography==2.1.3
6-
enum34==1.1.6
7-
idna==2.6
8-
ipaddress==1.0.18
9-
Jinja2==2.9.6
10-
MarkupSafe==1.0
11-
paramiko==2.3.1
12-
pkg-resources==0.0.0
13-
pyasn1==0.3.7
14-
pycparser==2.18
15-
pycrypto==2.6.1
16-
PyNaCl==1.2.0
17-
PyYAML==3.12
18-
six==1.11.0
1+
ansible==2.9.6
2+
cffi==1.14.0
3+
cryptography==2.8
4+
Jinja2==2.11.1
5+
MarkupSafe==1.1.1
6+
pycparser==2.20
7+
PyYAML==5.3.1
8+
six==1.14.0
9+
10+
# Bare minimum uncommentend
11+
# Other packages will be added while progressing migration of roles,
12+
# in case they are still needed
13+
#
14+
#asn1crypto==0.24.0
15+
#bcrypt==3.1.6
16+
#enum34==1.1.6
17+
#idna==2.6
18+
#ipaddress==1.0.18
19+
#paramiko==2.4.2
20+
#pkg-resources==0.0.0
21+
#pyasn1==0.4.2
22+
#pycrypto==2.6.1
23+
#PyNaCl==1.3.0

0 commit comments

Comments
 (0)