]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
testnode: Always ifup the secondary NIC 627/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 20 May 2021 16:57:34 +0000 (12:57 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 20 May 2021 16:57:34 +0000 (12:57 -0400)
commit65240e11daabe19e167020d8346a62d2c668bcca
treeb563e0cd982a8d82223cc6ef45c627f401ead66b
parente6e442821388f391f8fb7777cb249e3aee207ced
testnode: Always ifup the secondary NIC

If the NIC was already down, `ifdown` causes the playbook to fail.  We want to always (at least attempt to) take the NIC down, then bring it back up.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/tasks/secondary_nic.yml