github.com/jlmeeker/kismatic@v1.10.1-0.20180612190640-57f9005a1f1a/ansible/roles/authorization-policy/tasks/main.yaml (about)

     1  ---
     2    # setup directories
     3    - name: create {{ kubernetes_auth_dir }} directory
     4      file:
     5        path: "{{ kubernetes_auth_dir }}"
     6        state: directory
     7  
     8    - name: copy basicauth.csv to remote
     9      template:
    10        src: basicauth.csv
    11        dest: "{{ kubernetes_auth_dir }}/basicauth.csv"
    12        force: no
    13    - name: copy authorization-policy.json to remote
    14      copy:
    15        src: authorization-policy.json
    16        dest: "{{ kubernetes_auth_dir }}/authorization-policy.json"
    17        force: no