Compare commits

..

No commits in common. "955d7e8a647f139f318e92b757bced83317d351d" and "11235ab8596799d08f4354c027966b90e6a35273" have entirely different histories.

5 changed files with 1258 additions and 1874 deletions

View File

@ -1,10 +1,10 @@
[defaults] [defaults]
host_key_checking = true host_key_checking = false
collections_path = .ansible collections_path = .ansible
inventory = inventory.yaml inventory = inventory.yaml
[ssh_connection] [ssh_connection]
ssh_args = "-o ControlMaster=auto -o ControlPersist=60s" ssh_args = "-o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes"
[inventory] [inventory]
enable_plugins = ansible.builtin.yaml enable_plugins = ansible.builtin.yaml

3082
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -7,21 +7,22 @@ license = "MIT"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.10" python = "^3.10"
ansible-core = "^2.14.3" ansible-core = "^2.12.1"
docker = "^6.0.1" docker = "^4.2.0"
docker-compose = "^1.25.4"
paramiko = "^2.7.1" paramiko = "^2.7.1"
jsondiff = "^2.0.0" jsondiff = "^1.2.0"
netaddr = "^0.8.0" netaddr = "^0.8.0"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
ansible-lint = {version = "^6.14.0", markers = "platform_system != 'Windows'"} ansible-lint = "^4.2.0"
ipython = "^8.11.0" ipython = "^7.28.0"
mdformat = "^0.7.16" mdformat = "^0.7.9"
mdformat-gfm = "^0.3.5" mdformat-gfm = "^0.3.3"
poetry = "^1.3.0" poetry = "^1.1.0"
pre-commit = "^3.2.0" pre-commit = "^2.9.2"
pre-commit-hooks = "^4.4.0" pre-commit-hooks = "^3.3.0"
safety = "^2.3.5" safety = "^1.9.0"
tox = "^3.20.1" tox = "^3.20.1"
tox-poetry-installer = {extras = ["poetry"], version = "^0.10.0"} tox-poetry-installer = {extras = ["poetry"], version = "^0.8.3"}
yamllint = "^1.29.0" yamllint = "^1.20.0"

View File

@ -133,12 +133,3 @@
owner: "{{ item }}" owner: "{{ item }}"
group: "{{ item }}" group: "{{ item }}"
loop: "{{ _local_human_users }}" loop: "{{ _local_human_users }}"
- name: Link external media directory
become: true
ansible.builtin.file:
path: ~{{ item }}/Drives
src: /run/media/{{ item }}
state: link
force: true
loop: "{{ _local_human_users }}"

10
tox.ini
View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = ansible, security envlist = ansible, python, security
skipsdist = true skipsdist = true
[testenv] [testenv]
@ -36,9 +36,7 @@ locked_deps =
poetry poetry
safety safety
commands = commands =
poetry export --format requirements.txt --without-hashes --with dev --output {envtmpdir}/req.txt poetry export --format requirements.txt --without-hashes --dev --output {envtmpdir}/req.txt
safety check --output text --file {envtmpdir}/req.txt \ safety check --json --file {envtmpdir}/req.txt \
# Ignore unfixed CVE-2021-3532 from ansible \ # Ignore unfixed CVE-2021-3532 from ansible \
--ignore 42923 \ --ignore 42923
# https://github.com/pytest-dev/py/issues/287#issuecomment-1283567565
--ignore 51457