Remove obsolete playbooks/legacy/nodepool-provider

This is completely unused now, it was part of tripleo-ci job that got
migrated in-repo and not deleted.

Change-Id: I76bc800f646d751673d4f861bcd59385f73e2cf4
This commit is contained in:
Andreas Jaeger 2018-08-25 19:38:23 +02:00 committed by Andreas Jaeger
parent a0f42fa630
commit 7a702b5c88
2 changed files with 0 additions and 21 deletions

View File

@ -1,2 +0,0 @@
This playbook writes a backwards compatible /etc/nodepool/provider file for
legacy jobs running on Zuul v3 which no longer provides that file.

View File

@ -1,19 +0,0 @@
- name: Configure /etc/nodepool/provider for backwards compatibility
hosts: all
gather_facts: no
tasks:
- name: Warn that /etc/nodepool/provider is deprecated
debug:
msg: |
The /etc/nodepool/provider file no longer exists and is being created
for backwards compatibility purposes. The variables provided by this
file are now available through Ansible under hostvars[$HOST]['nodepool'].
- name: Create /etc/nodepool/provider file
copy:
content: |
NODEPOOL_PROVIDER={{ nodepool.provider }}
NODEPOOL_CLOUD={{ nodepool.cloud }}
NODEPOOL_REGION={{ nodepool.region }}
NODEPOOL_AZ={{ nodepool.az }}
dest: /etc/nodepool/provider