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