123456789101112131415161718192021222324252627282930 |
- ---
- # TODO: Make this work. The 'name' variable below is undefined
- # presently because it's part of the cfme role. This play can't run
- # until that's re-worked.
- #
- # - name: Pre-Pull manageiq-pods docker images
- # hosts: nodes
- # tasks:
- # - name: Ensure the latest manageiq-pods docker image is pulling
- # docker_image:
- # name: "{{ openshift_cfme_container_image }}"
- # # Fire-and-forget method, never timeout
- # async: 99999999999
- # # F-a-f, never check on this. True 'background' task.
- # poll: 0
- - name: Setup CFME
- hosts: m01.example.com
- pre_tasks:
- - name: Create a temporary place to evaluate the PV templates
- command: mktemp -d /tmp/openshift-ansible-XXXXXXX
- register: r_openshift_cfme_mktemp
- changed_when: false
- tasks:
- - name: Run the CFME Setup Role
- include_role:
- name: openshift_cfme
- vars:
- template_dir: "{{ hostvars[groups.masters.0].r_openshift_cfme_mktemp.stdout }}"
|