0eee2d0483
Variables should have spaces before and after: {{ var_name }} Change-Id: I7e8616e835bbbe7500b0aae5b1b985ef5d471403
20 lines
803 B
YAML
20 lines
803 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 }}"
|