generate_serviceaccounts.yaml 284 B

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