Browse Source

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?
python3
Zolfa 4 years ago
parent
commit
0181f319f6
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
2 changed files with 65 additions and 18 deletions
  1. +42
    -0
      MIGRATION.md
  2. +23
    -18
      requirements.txt

+ 42
- 0
MIGRATION.md View File

@ -0,0 +1,42 @@
# State of migration of each role
Each new role will be tested against:
On the controller:
- `python==3.7.3` (Debian Stable)
- `python==3.8.2`
- `ansible==2.9.6`
On the hosts:
- `python==3.7.3`
- `debian==buster` (physical hosts and containers)
- `openwrt` (firewall)
# Current status
## Roles
| Role name | Modified? | Tested? | Production? | Notes |
|--------------------|:---------:|:--------:|:-----------:|------------------------------------------------------------------------------------------|
|`roles/service` | **YES** | **YES** | NO | Changes in Ansible built-in `apt` module. |
|`roles/ssh_server` | **YES** | **YES** | NO | `lxc_ssh.py` --> `ssh_lxc.py`. |
|`roles/ca` | **YES** | ReadNote | NO | Changes in Ansible built-in `apt` module. Needs update of `ca_manager` to [1] to work. |
|`prepare_host.yaml` | **YES** | NO | NO | Install `python3` and `python3-lxc` instead of version 2. |
|`roles/ldap` | NO | NO | NO | |
|`roles/nginx` | NO | NO | NO | |
|`roles/projects` | NO | NO | NO | |
|`roles/dns_record` | NO | NO | NO | |
|`roles/openvpn` | NO | NO | NO | |
## Plugins and Modules
| Plugin/Module name | Modified? | Tested? | Production? | Notes |
|------------------------|:---------:|:---------:|:-----------:|--------------------------------------|
|`connection/lxc_ssh.py` | *REMOVED* | | | |
|`connection/ssh_lxc.py` | **NEW** | **YES** | NO | Replace `lxc_ssh.py`. |
|`library/ssh_cert.py` | **YES** | **YES** | NO | Migrate from `python2` to `python3`. |
[1]: https://github.com/LILiK-117bis/ca_manager/tree/peewee3%2Brfc5280

+ 23
- 18
requirements.txt View File

@ -1,18 +1,23 @@
ansible==2.2.0.0
asn1crypto==0.23.0
bcrypt==3.1.4
cffi==1.11.2
cryptography==2.1.3
enum34==1.1.6
idna==2.6
ipaddress==1.0.18
Jinja2==2.9.6
MarkupSafe==1.0
paramiko==2.3.1
pkg-resources==0.0.0
pyasn1==0.3.7
pycparser==2.18
pycrypto==2.6.1
PyNaCl==1.2.0
PyYAML==3.12
six==1.11.0
ansible==2.9.6
cffi==1.14.0
cryptography==2.8
Jinja2==2.11.1
MarkupSafe==1.1.1
pycparser==2.20
PyYAML==5.3.1
six==1.14.0
# Bare minimum uncommentend
# Other packages will be added while progressing migration of roles,
# in case they are still needed
#
#asn1crypto==0.24.0
#bcrypt==3.1.6
#enum34==1.1.6
#idna==2.6
#ipaddress==1.0.18
#paramiko==2.4.2
#pkg-resources==0.0.0
#pyasn1==0.4.2
#pycrypto==2.6.1
#PyNaCl==1.3.0

Loading…
Cancel
Save