Sha256: 2988ae98d7fa1c54df6a71246fd9ab78d5a2484933e4eaa4dea0cebe4bd5360a

Contents?: true

Size: 1.97 KB

Versions: 8

Compression:

Stored size: 1.97 KB

Contents

---
- include: ff-libraries.yml

- name: ensure source_dir and build_dir exist
  file:
    path: "{{ item }}"
    state: directory
  with_items:
    - "{{ source_dir }}"
    - "{{ build_dir }}"

- name: stat yasm
  stat: path=/usr/local/bin/yasm
  register: yasm_stat
- name: include yasm
  include: yasm.yml
  when: yasm_stat.stat.xusr is not defined or yasm_stat.stat.xusr == False

- name: stat x264
  stat: path=/usr/local/bin/x264
  register: x264_stat
- name: include x264
  include: x264.yml
  when: x264_stat.stat.xusr is not defined or x264_stat.stat.xusr == False

- name: stat x265
  stat: path={{ build_dir }}/lib/libx265.a
  register: x265_stat
- name: include x264
  include: x265.yml
  when: x265_stat.stat.exists == False

- name: stat libfdk-aac
  stat: path={{ build_dir }}/lib/libfdk-aac.a
  register: aac_stat
- name: include libfdk-aac
  include: libfdk_aac.yml
  when: aac_stat.stat.exists == False

- name: stat lame
  stat: path=/usr/local/bin/lame
  register: lame_stat
- name: include lame
  include: libmp3lame.yml
  when: lame_stat.stat.xusr is not defined or lame_stat.stat.xusr == False

- name: stat libopus
  stat: path={{ build_dir }}/lib/libopus.a
  register: opus_stat
- name: include libopus
  include: libopus.yml
  when: opus_stat.stat.exists == False

- name: stat libogg
  stat: path={{ build_dir }}/lib/libogg.a
  register: ogg_stat
- name: include libogg
  include: libogg.yml
  when: ogg_stat.stat.exists == False

- name: stat libvorbis
  stat: path={{ build_dir }}/lib/libvorbis.a
  register: vorbis_stat
- name: include libvorbis
  include: libvorbis.yml
  when: vorbis_stat.stat.exists == False

- name: stat libvpx
  stat: path={{ build_dir }}/lib/libvpx.a
  register: vpx_stat
- name: include libvpx
  include: libvpx.yml
  when: vpx_stat.stat.exists == False

- name: stat ffmpeg
  stat: path=/usr/local/bin/ffmpeg
  register: ffmpeg_stat
- name: include ffmpeg
  include: ffmpeg.yml
  when: ffmpeg_stat.stat.xusr is not defined or ffmpeg_stat.stat.xusr == False

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
abrizer-0.6.0 ansible/roles/ffmpeg/tasks/main.yml
abrizer-0.5.0 ansible/roles/ffmpeg/tasks/main.yml
abrizer-0.4.0 ansible/roles/ffmpeg/tasks/main.yml
abrizer-0.3.0 ansible/roles/ffmpeg/tasks/main.yml
abrizer-0.2.0 ansible/roles/ffmpeg/tasks/main.yml
abrizer-0.1.0 ansible/roles/ffmpeg/tasks/main.yml
video_sprites-0.2.0 ansible/roles/ffmpeg/tasks/main.yml
video_sprites-0.1.0 ansible/roles/ffmpeg/tasks/main.yml