infra_public/roles/stable/build/tasks/main.yml

49 lines
993 B
YAML

---
- name: preflight
include_tasks: preflight.yml
when: not skip_preflight
tags:
- preflight
- name: install - openwrt
include_tasks: install_openwrt.yml
when: not skip_openwrt_install
tags:
- openwrt_install
- name: install - libremesh
include_tasks: install_feeds_libremesh.yml
when: not skip_libremesh_install
tags:
- libremesh_install
- name: install - packages
include_tasks: install_feeds_packages.yml
tags:
- feeds_packages
- name: Flush handlers
meta: flush_handlers
- name: conf-files - lime mac
include_tasks: conf_files_lime_mac.yml
tags:
- conf_files_lime_mac
- name: configure
include_tasks: configure.yml
tags:
- configure
- name: build - Build
shell: make -j $(nproc) download world EXTRA_IMAGE_NAME="{{openwrt_extra_image_name}}"
args:
chdir: "{{ openwrt_build_dir }}"
tags:
- openwrt_build
- name: webserver
include_tasks: webserver.yml
when: not skip_webserver_update
tags:
- webserver