openstack-zuul-jobs/roles/mirror-info/tasks/main.yaml
Ian Wienand 0c1ecb990f Add role to make /etc/ci/mirror_info.sh
The mirror info script is sourced by various jobs so needs to be
around for broad compatability.  Since it's full of openstack only
mirrors, this seems like the place for it.

Change-Id: I66164920642a6015a6524fdc3105e4099d26deff
2017-09-09 03:24:44 +00:00

18 lines
300 B
YAML

- name: Create /etc/ci
become: yes
file:
path: /etc/ci
state: directory
owner: root
group: root
mode: 0755
- name: Install ci_mirror script
become: yes
template:
dest: '/etc/ci/mirror_info.sh'
owner: root
group: root
mode: 0644
src: mirror_info.sh.j2