main.yml 993 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ---
  2. - name: preflight
  3. include_tasks: preflight.yml
  4. when: not skip_preflight
  5. tags:
  6. - preflight
  7. - name: install - openwrt
  8. include_tasks: install_openwrt.yml
  9. when: not skip_openwrt_install
  10. tags:
  11. - openwrt_install
  12. - name: install - libremesh
  13. include_tasks: install_feeds_libremesh.yml
  14. when: not skip_libremesh_install
  15. tags:
  16. - libremesh_install
  17. - name: install - packages
  18. include_tasks: install_feeds_packages.yml
  19. tags:
  20. - feeds_packages
  21. - name: Flush handlers
  22. meta: flush_handlers
  23. - name: conf-files - lime mac
  24. include_tasks: conf_files_lime_mac.yml
  25. tags:
  26. - conf_files_lime_mac
  27. - name: configure
  28. include_tasks: configure.yml
  29. tags:
  30. - configure
  31. - name: build - Build
  32. shell: make -j $(nproc) download world EXTRA_IMAGE_NAME="{{openwrt_extra_image_name}}"
  33. args:
  34. chdir: "{{ openwrt_build_dir }}"
  35. tags:
  36. - openwrt_build
  37. - name: webserver
  38. include_tasks: webserver.yml
  39. when: not skip_webserver_update
  40. tags:
  41. - webserver