main.yml 452 B

12345678910111213141516
  1. ---
  2. # tasks file for alfred
  3. - include: debian.yml
  4. when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
  5. - name: Download alfred source code
  6. get_url: dest=/usr/src url={{alfred_source_url}}
  7. - name: Extract alfred source code
  8. unarchive: src=/usr/src/alfred-{{alfred_version}}.tar.gz dest=/usr/src copy=no
  9. - name: Compile and install alfred
  10. shell: make && make install
  11. args:
  12. chdir: /usr/src/alfred-{{alfred_version}}