aboutsummaryrefslogblamecommitdiffstats
path: root/roles/space_server/tasks/radvd.yml
blob: 2d831d15b33b77550122f1c9769ee02bd0c97a13 (plain) (tree)
1
2
3
4
5
6
7
8
9
   

                       
                           
                   


               
         
                 
 





                            

                          


                                                                        
              

                        
---
- name: Configure radvd
  copy:
    dest: '/etc/radvd.conf'
    src: radvd.conf
    owner: root
    group: root
    mode: 0644
  notify:
  - restart radvd

- name: Enable radvd service
  systemd:
    name: radvd.service
    enabled: yes
    masked: no
    state: started
  when: not chroot
- name: '- when in chroot'
  command: systemctl enable radvd.service
  args:
    creates: '/etc/systemd/system/multi-user.target.wants/radvd.service'
  when: chroot

# vim: set ts=2 sw=2 et: