prometheus / demo-site

Demo site auto-deployed with Ansible and Travis CI.
Apache License 2.0
102 stars 58 forks source link

FAILED! => {"changed": false, "checksum": "87a17b21ccd22636f3845dd92fb311551c1fd0ba" #73

Closed garyyang6 closed 1 year ago

garyyang6 commented 1 year ago

I made the change in group_vars/grafana/vault as follows:

vault_grafana_password: demo12345678

I got errors when I ran,

ansible-playbook site.yml

TASK [dev-sec.ssh-hardening : create sshd_config and set permissions to root/600] ********************
fatal: [demo]: FAILED! => {"changed": false, "checksum": "87a17b21ccd22636f3845dd92fb311551c1fd0ba", "exit_status": 255, "msg": "failed to validate", "stderr": "Unsupported KEX algorithm \"sntrup4591761x25519-sha512@tinyssh.org\"\r\n/root/.ansible/tmp/ansible-tmp-1681618592.8951068-527499-95013378172142/source line 73: Bad SSH2 KexAlgorithms 'sntrup4591761x25519-sha512@tinyssh.org,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256'.\r\n", "stderr_lines": ["Unsupported KEX algorithm \"sntrup4591761x25519-sha512@tinyssh.org\"", "/root/.ansible/tmp/ansible-tmp-1681618592.8951068-527499-95013378172142/source line 73: Bad SSH2 KexAlgorithms 'sntrup4591761x25519-sha512@tinyssh.org,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256'."], "stdout": "", "stdout_lines": []}

I reverted my changes in group_vars/grafana/vault to the original values of group_vars/grafana/vault I got from github. Then I got errors as follows:

ansible-playbook site.yml

PLAY [Install python] ******************************************************************************** ERROR! Attempting to decrypt but no vault secrets found