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:
Julia Kreger 2014-10-07 09:24:01 -04:00 committed by Julia Kreger
parent 78ae01751e
commit 6a5f6ca240
2 changed files with 8 additions and 0 deletions

7
playbooks/step_ping.yml Normal file
View File

@ -0,0 +1,7 @@
---
- name: "Test Connectivity to all hosts"
hosts: all
serial: 1
tasks:
ping:
where: instance_status == "ACTIVE"

View File

@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
- include: step_ping.yml
- hosts: undercloud
name: Disable Undercloud
sudo: yes