85bf2e8dde
- Import tripleo-buildimage playbooks and refactorize. Note: tripleo_image_type var was created to re-use the same playbooks. - Import toci_ci playbooks and refactorize. Note: some vars were created to re-use the same playbooks. - Import jobs, templates and projects layouts. Sort jobs by type so it's easily understable. - Create new templates and use these templates in tripleo-ci. It will make projects layouts easy. Change-Id: Ie8aa85fe7a8ee556cc1b46e215d329e95913290c Co-Authored-By: David Moreau-Simard <dms@redhat.com>
20 lines
742 B
YAML
20 lines
742 B
YAML
- 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
|