generate_serviceaccounts.yaml 300 B

1234567891011121314
  1. ---
  2. - name: Generating serviceaccounts
  3. template:
  4. src: serviceaccount.j2
  5. dest: "{{ mktemp.stdout }}/templates/{{ obj_name }}-sa.yaml"
  6. vars:
  7. obj_name: provisioners-{{item}}
  8. labels:
  9. provisioners-infra: support
  10. with_items:
  11. # TODO
  12. - efs
  13. check_mode: no
  14. changed_when: no