Sha256: fc4fdd2053ff684fba965b752bb36b9acec7d5e52c824d36ec4d7451995a0aca

Contents?: true

Size: 637 Bytes

Versions: 21

Compression:

Stored size: 637 Bytes

Contents

- name: Check out application
  remote_user: "{{ deployer_user.name }}"
  git: dest={{ be_app_path }}
       repo={{ be_app_repo }}
       version={{ be_app_branch }}
       accept_hostkey=true
       force=yes
  register: app_checkout
  tags: [be_deploy]

- name: check that secrets is ignored
  shell: cat {{ be_app_path }}/.gitignore | grep {{ item }}
  with_items:
    - config/secrets.yml
  register: secrets_ignore_check
  ignore_errors: true
  tags: [be_deploy]

- name: ignore secrets
  shell: /bin/bash -c 'echo "config/secrets.yml" > {{ be_app_path }}/.git/info/exclude'
  when: secrets_ignore_check|failed
  tags: [be_deploy]

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
taperole-1.1.5 roles/backend_checkout/tasks/main.yml