mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 22:30:22 -07:00
Add missing sha1 import on known_hosts.py
This commit is contained in:
parent
f82ac9f8e9
commit
e9d7476c28
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
||||||
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
import hmac
|
import hmac
|
||||||
|
from hashlib import sha1
|
||||||
HASHED_KEY_MAGIC = "|1|"
|
HASHED_KEY_MAGIC = "|1|"
|
||||||
|
|
||||||
def add_git_host_key(module, url, accept_hostkey=True):
|
def add_git_host_key(module, url, accept_hostkey=True):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue