CORE-1771 Add ping step to help key acceptance
This commit adds a step where each node is checked for connectivity, a single node at a time, to enable easier ssh key acceptance if the user is operating with Ansible defaults to help ensure SSH connection security. Change-Id: Ia534b56e496624c4a73bea0dac70a93c107676d4
This commit is contained in:
parent
78ae01751e
commit
6a5f6ca240
7
playbooks/step_ping.yml
Normal file
7
playbooks/step_ping.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
- name: "Test Connectivity to all hosts"
|
||||||
|
hosts: all
|
||||||
|
serial: 1
|
||||||
|
tasks:
|
||||||
|
ping:
|
||||||
|
where: instance_status == "ACTIVE"
|
@ -13,6 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
---
|
---
|
||||||
|
- include: step_ping.yml
|
||||||
- hosts: undercloud
|
- hosts: undercloud
|
||||||
name: Disable Undercloud
|
name: Disable Undercloud
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user