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:
parent
a0f42fa630
commit
7a702b5c88
|
@ -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.
|
|
@ -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
|
Loading…
Reference in New Issue