source.yml 449 B

1234567891011121314
  1. - name: Clone fastd repo
  2. register: clonefastd
  3. git: repo={{fastd_repo}} dest=/usr/src/fastd accept_hostkey=yes version={{fastd_repo_tag}}
  4. - name: Create build dirs
  5. when: clonelibuecc|changed
  6. register: builddircreated
  7. file: path={{item}} state=directory
  8. with_items:
  9. - "{{fastd_build_dir}}"
  10. - name: Build and install fastd
  11. when: builddircreated|changed
  12. shell: cmake /usr/src/fastd && make && make install chdir={{fastd_build_dir}}