Ansible-inventory-to-ssh-config

Latest version: v1.1.2

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.2

Since the `pkg_resources` is deprecated, we should use `importlib.metadata` to handle the version option `-v` to fetch current aitsc version for command line.

1.1.1

[Changes]

- [CI] Create publish-to-pypi.yml in github workflow
- [CI] Update pylint.yml with python 3.11 & 3.12
- [REFACTOR] Use the new standardized format pyproject.toml instead of setup.py.
- [REFACTOR] Use scm for version controll while packaging.

1.1.0

[New Feature]
- Support specifying ssh private key file in a inventory file.

yaml
Ansible inventoy
...

node3 ansible_host=192.168.0.7 ansible_ssh_private_key_file=~/.ssh/id_rsa_for_ansible

...


result

conf
ssh config
...

Host node3
HostName 192.168.0.7
IdentityFile ~/.ssh/id_rsa_for_ansible

...


New pkg: https://pypi.org/project/ansible-inventory-to-ssh-config/1.1.0/

1.0.1

1.0.0

1. Default without backup.
1. Support `--override` option, this would remove those host undefined in playbook.
1. Support parsing `ansibl_ssh_port`/`ansible_port` and `ansible_ssh_user`/`ansible_user` as host's SSH connection information.
1. Adjust dry run print result to ssh config format exactly.
1. Dependencies version limitation.
- ansible==2.10.5
- sshconf==0.2.5

0.0.4

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.