You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
429 B

  1. - name: Install LXC
  2. pacman: name=lxc state=present
  3. become: yes
  4. - name: Place bridge netdev file
  5. template:
  6. src=bridge.netdev.j2
  7. dest=/etc/systemd/network/{{lxc_br_name}}.netdev
  8. become: yes
  9. notify:
  10. - Restart systemd-networkd
  11. - name: Place bridge network file
  12. template:
  13. src=bridge.network.j2
  14. dest=/etc/systemd/network/{{lxc_br_name}}.network
  15. become: yes
  16. notify:
  17. - Restart systemd-networkd