dynamic_inventory.yml 291 B

12345
  1. ---
  2. - name: Extract PEM from service account file
  3. copy: content="{{ (lookup('file', openshift_gcp_iam_service_account_keyfile ) | from_json ).private_key }}" dest=/tmp/gce.pem mode=0600
  4. - name: Templatize environment script
  5. template: src=inventory.j2.sh dest=/tmp/inventory.sh mode=u+rx