new_new_net

This commit is contained in:
Ansible Admin 2016-05-20 23:13:42 +02:00
parent 6a2a18f8a7
commit c8cbc23f99
3 changed files with 7 additions and 6 deletions

View File

@ -9,7 +9,7 @@
user: root user: root
gather_facts: False gather_facts: False
vars: vars:
snversion: master_v3.0.14 snversion: master_v3.0.15
batmanversion: v2015.2 batmanversion: v2015.2
common_required_packages: common_required_packages:
- git - git
@ -57,8 +57,8 @@
- tunneldigger.service - tunneldigger.service
- tunneldigger-backup.service - tunneldigger-backup.service
broker_cfg: broker_cfg:
- l2tp_broker.cfg-backup.j2 - l2tp_broker-backup.cfg
- l2tp_broker.cfg.j2 - l2tp_broker.cfg
# bind_zone_fftdf: # bind_zone_fftdf:
# - named.conf.fftdf # - named.conf.fftdf
check_gw_script: check_gw_script:
@ -165,7 +165,7 @@
pip: requirements=/srv/tunneldigger/broker/requirements.txt virtualenv=/srv/tunneldigger/ pip: requirements=/srv/tunneldigger/broker/requirements.txt virtualenv=/srv/tunneldigger/
when: tunneldigger.changed when: tunneldigger.changed
- name: Copy l2tp broker config template - name: Copy l2tp broker config template
template: src=./files/{{ item }} dest=/srv/ owner=root group=root mode=0444 template: src=./files/{{ item }} dest=/srv/tunneldigger owner=root group=root mode=0444
with_items: broker_cfg with_items: broker_cfg
when: tunneldigger.changed when: tunneldigger.changed
- name: Copy tunneldigger script template - name: Copy tunneldigger script template
@ -175,8 +175,8 @@
copy: src=./files/{{ item }} dest=/srv/tunneldigger owner=root group=root mode=0500 copy: src=./files/{{ item }} dest=/srv/tunneldigger owner=root group=root mode=0500
with_items: tunneldigger_scripts with_items: tunneldigger_scripts
when: tunneldigger.changed when: tunneldigger.changed
- name: Copy tunneldigger service file - name: Copy tunneldigger service template
copy: src=./files/{{ item }} dest=/etc/systemd/system/tunneldigger.service owner=root group=root mode=0444 copy: src=./files/{{ item }} dest=/etc/systemd/system owner=root group=root mode=0444
with_items: tunneldigger_service with_items: tunneldigger_service
when: tunneldigger.changed when: tunneldigger.changed
- name: Tunneldigger reload - name: Tunneldigger reload
@ -184,6 +184,7 @@
with_items: with_items:
- systemctl daemon-reload - systemctl daemon-reload
- systemctl enable tunneldigger.service - systemctl enable tunneldigger.service
- systemctl enable tunneldigger-backup.service
when: tunneldigger.changed when: tunneldigger.changed
- name: Copy logrotate config - name: Copy logrotate config
copy: src=./files/{{ item }} dest=/etc/ owner=root group=root mode=0500 copy: src=./files/{{ item }} dest=/etc/ owner=root group=root mode=0500