- name: copy git key
  copy: "src=files/ssh/git/git_key dest=/tmp/{{username}}_git_key mode=600"
  tags:
    - orchard-php-etl-git

- name: git pull
  git: repo={{ orchard.git.php_etl.repo }}
       dest={{ orchard.git.php_etl.folder_path }}
       version={{ orchard.git.php_etl.branch_name }}
       accept_hostkey=no
       force=yes
       update=yes
       key_file=/tmp/{{username}}_git_key
  tags:
    - orchard-php-etl-git
- name: remove git key
  file: path=/tmp/{{username}}_git_key
        state=absent
  tags:
    - orchard-php-etl-git