tags
This commit is contained in:
parent
7852f4265b
commit
b4cf290c00
|
@ -2,51 +2,59 @@
|
||||||
action: template src=templates/99frr_defaults.conf.j2 dest=/etc/sysctl.d/99frr_defaults.conf backup=yes
|
action: template src=templates/99frr_defaults.conf.j2 dest=/etc/sysctl.d/99frr_defaults.conf backup=yes
|
||||||
notify:
|
notify:
|
||||||
- reload 99frr_defaults
|
- reload 99frr_defaults
|
||||||
tags: frr-docker
|
tags: frr-docker
|
||||||
|
|
||||||
- name: "Copy dockerfrr.sh shortcut script"
|
- name: "Copy dockerfrr.sh shortcut script"
|
||||||
copy:
|
copy:
|
||||||
src: files/dockerfrr.sh
|
src: files/dockerfrr.sh
|
||||||
dest: /usr/sbin/dockerfrr.sh
|
dest: /usr/sbin/dockerfrr.sh
|
||||||
mode: "+x"
|
mode: "+x"
|
||||||
|
tags: frr-docker
|
||||||
|
|
||||||
- name: "Configure /etc/frr"
|
- name: "Configure /etc/frr"
|
||||||
file:
|
file:
|
||||||
path: "/etc/frr/"
|
path: "/etc/frr/"
|
||||||
state: directory
|
state: directory
|
||||||
|
tags: frr-docker
|
||||||
|
|
||||||
|
|
||||||
- name: "Copy daemons file"
|
- name: "Copy daemons file"
|
||||||
copy:
|
copy:
|
||||||
src: daemons
|
src: daemons
|
||||||
dest: "/etc/frr/daemons"
|
dest: "/etc/frr/daemons"
|
||||||
|
tags: frr-docker
|
||||||
|
|
||||||
|
|
||||||
- name: "Copy bgpd.conf file"
|
- name: "Copy bgpd.conf file"
|
||||||
copy:
|
copy:
|
||||||
src: bgpd.conf
|
src: bgpd.conf
|
||||||
dest: "/etc/frr/bgpd.conf"
|
dest: "/etc/frr/bgpd.conf"
|
||||||
|
tags: frr-docker
|
||||||
|
|
||||||
|
|
||||||
- name: "Copy bfdd.conf file"
|
- name: "Copy bfdd.conf file"
|
||||||
copy:
|
copy:
|
||||||
src: bfdd.conf
|
src: bfdd.conf
|
||||||
dest: "/etc/frr/bfdd.conf"
|
dest: "/etc/frr/bfdd.conf"
|
||||||
|
tags: frr-docker
|
||||||
|
|
||||||
- name: "Configure frr.conf"
|
- name: "Configure frr.conf"
|
||||||
action: template src=templates/frr.conf.j2 dest=/etc/frr/frr.conf backup=yes
|
action: template src=templates/frr.conf.j2 dest=/etc/frr/frr.conf backup=yes
|
||||||
notify:
|
notify:
|
||||||
- restart frr-docker
|
- restart frr-docker
|
||||||
when: ignore_frrconf is not defined
|
when: ignore_frrconf is not defined
|
||||||
tags: frr-docker,frrconf
|
tags: frr-docker,frrconf
|
||||||
|
|
||||||
- name: "Configure frr-docker.service"
|
- name: "Configure frr-docker.service"
|
||||||
action: template src=templates/frr-docker.service.j2 dest=/etc/systemd/system/frr-docker.service backup=yes
|
action: template src=templates/frr-docker.service.j2 dest=/etc/systemd/system/frr-docker.service backup=yes
|
||||||
notify:
|
notify:
|
||||||
- restart frr-docker
|
- restart frr-docker
|
||||||
tags: frr-docker
|
tags: frr-docker
|
||||||
|
|
||||||
- name: "Reload systemctl then enable & start frr-docker service"
|
- name: "Reload systemctl then enable & start frr-docker service"
|
||||||
systemd:
|
systemd:
|
||||||
state: started
|
state: started
|
||||||
enabled: True
|
enabled: True
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
name: frr-docker.service
|
name: frr-docker.service
|
||||||
tags: frr-docker
|
tags: frr-docker
|
||||||
|
|
Loading…
Reference in New Issue