ansible-vault requires the cryptography library in order to function #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
When i try to use ansible-vault command on a fresh installed AlmaLinux 9 node i got an error: "ansible-vault requires the cryptography library in order to function"
Ansible installed with dnf command from almalinux repo.
$ ansible --version
ansible [core 2.12.2]
config file = /home/xxxxx/ansible/ansible.cfg
configured module search path = ['/home/xxxx/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.9/site-packages/ansible
ansible collection location = /home/xxxx/.ansible/collections
executable location = /usr/bin/ansible
python version = 3.9.10 (main, Feb 9 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)]
jinja version = 2.11.3
libyaml = True
Environment:
AlmaLinux 9 5.14.0-70.22.1.el9_0.x86_64
Python crypto Library:
python3-cffi-1.14.5-5.el9.x86_64
python3-cryptography-36.0.1-1.el9_0.x86_64
Error message:
fatal: [xxxx]: FAILED! => {
"ansible_facts": {},
"ansible_included_var_files": [],
"changed": false,
"message": "ansible-vault requires the cryptography library in order to function"
}