You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
788 B
YAML
37 lines
788 B
YAML
---
|
|
- name: create netctl config
|
|
template:
|
|
src: netctl
|
|
dest: /etc/netctl/{{ item.name }}
|
|
with_items: "{{ ffrl_peers }}"
|
|
notify: reenable netctl
|
|
|
|
- name: enable netctl config
|
|
command: netctl enable {{ item.name }}
|
|
args:
|
|
creates: /etc/systemd/system/multi-user.target.wants/netctl@{{ item.name }}.service
|
|
with_items: "{{ ffrl_peers }}"
|
|
|
|
- name: start netctl config
|
|
systemd:
|
|
name: netctl@{{ item.name }}.service
|
|
state: started
|
|
with_items: "{{ ffrl_peers }}"
|
|
|
|
- name: install bird
|
|
pacman:
|
|
name: bird
|
|
state: present
|
|
|
|
- name: create bird config
|
|
template:
|
|
src: bird.conf
|
|
dest: /etc/bird.conf
|
|
notify: reload bird
|
|
|
|
- name: start and enable bird
|
|
systemd:
|
|
name: bird.service
|
|
state: started
|
|
enabled: yes
|