Skip to content

Commit

Permalink
Reset SSH connection to apply new credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Dec 10, 2024
1 parent 84184a5 commit 31c2b77
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions automation/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
ansible_ssh_common_args: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
ansible_private_key_file: /tmp/molecule_rsa

- name: Reset SSH connection to apply new credentials
ansible.builtin.meta: reset_connection

- name: Converge
hosts: all
gather_facts: true
Expand Down
3 changes: 3 additions & 0 deletions automation/molecule/pg_upgrade/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
ansible_ssh_common_args: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
ansible_private_key_file: /tmp/molecule_rsa

- name: Reset SSH connection to apply new credentials
ansible.builtin.meta: reset_connection

- name: Converge
hosts: all
gather_facts: true
Expand Down
3 changes: 3 additions & 0 deletions automation/molecule/postgrespro/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
ansible_ssh_common_args: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
ansible_private_key_file: /tmp/molecule_rsa

- name: Reset SSH connection to apply new credentials
ansible.builtin.meta: reset_connection

- name: Converge
hosts: all
gather_facts: true
Expand Down

0 comments on commit 31c2b77

Please sign in to comment.