1234567891011121314151617181920212223 |
- ---
- - name: install - openwrt - Requirements
- include_tasks: install_openwrt_requirements.yml
- - name: install - openwrt - Check if openwrt_build_dir is present
- stat:
- path: "{{ openwrt_build_dir }}"
- register: openwrt_build_dir_initialized
- - name: install - openwrt - Clone openwrt
- git:
- repo: https://git.openwrt.org/openwrt/openwrt.git
- dest: "{{ openwrt_build_dir }}"
- single_branch: yes
- version: "{{ openwrt_version_tag }}"
- when: not openwrt_build_dir_initialized.stat.exists
- - name: install - openwrt - cp feeds.conf.default feeds.conf
- shell:
- cmd: cp feeds.conf.default feeds.conf
- args:
- chdir: "{{ openwrt_build_dir }}"
- notify: "update and install feeds"
|