Files
bifrost/playbooks/roles/bifrost-test-dhcp/tasks/main.yml
Riccardo Pittau a47c553e05 Fix dhcp job
Change-Id: Ibb1d32ae8b69e9ad47db55d455fb3d7f0cfc4219
2020-03-20 10:06:56 +01:00

20 lines
797 B
YAML

# Copyright (c) 2016 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
- name: Execute python dhcp check file
become: true
script: test-dhcp.py "{{inventory_dhcp}}" "{{inventory_dhcp_static_ip}}"
args:
executable: "{{ansible_python.executable}}"