Sha256: 58e3377124b2b865d4054b1cd68a6d5641ffa30a219366bb3bfd8782b718021b

Contents?: true

Size: 894 Bytes

Versions: 3

Compression:

Stored size: 894 Bytes

Contents

- name: clone the FE app
  when: fe_app_repo is defined
  remote_user: "{{ deployer_user.name }}"
  git: dest={{ fe_app_path }}
       repo={{ fe_app_repo }}
       version={{ fe_app_branch }}
       accept_hostkey=true
       force=yes
  tags: [fe_deploy]

- name: NPM install
  when: fe_app_repo is defined
  remote_user: "{{ deployer_user.name }}"
  command: bash -lc
  command: chdir={{ fe_app_path }}
    bash -lc 'test -e package.json && npm install ; return 0'
  tags: [fe_deploy]

- name: Bower install
  when: fe_app_repo is defined
  remote_user: "{{ deployer_user.name }}"
  command: bash -lc
  command: chdir={{ fe_app_path }}
    bash -lc 'test -e bower.json && bower install'
  tags: [fe_deploy]

- name: Build FE
  when: fe_app_repo is defined
  remote_user: "{{ deployer_user.name }}"
  command: chdir={{ fe_app_path }}
    bash -lc '{{ fe_build_command }}'
  tags: [fe_deploy]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
taperole-1.3.5 roles/frontend_deploy/tasks/main.yml
taperole-1.3.4 roles/frontend_deploy/tasks/main.yml
taperole-1.3.3 roles/frontend_deploy/tasks/main.yml