Attempt native imagebuilder image
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
32
REMOVED/ansible/python.yml
Normal file
32
REMOVED/ansible/python.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2018 The Kubernetes Authors.
|
||||
|
||||
# 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.
|
||||
---
|
||||
- hosts: all
|
||||
# Gathering facts requires Python to be available, so it's a chicken and egg
|
||||
# problem as this playbook installs Python.
|
||||
gather_facts: no
|
||||
become: yes
|
||||
|
||||
tasks:
|
||||
- include_role:
|
||||
name: python
|
||||
|
||||
environment:
|
||||
http_proxy: "{{ http_proxy | default('') }}"
|
||||
https_proxy: "{{ https_proxy | default('') }}"
|
||||
no_proxy: "{{ no_proxy | default('') }}"
|
||||
HTTP_PROXY: "{{ http_proxy | default('') }}"
|
||||
HTTPS_PROXY: "{{ https_proxy | default('') }}"
|
||||
NO_PROXY: "{{ no_proxy | default('') }}"
|
||||
PYTHONPATH: "{{ python_path }}"
|
||||
Reference in New Issue
Block a user