Housekeeping, same like testing v1.1
This commit is contained in:
parent
925115dc3c
commit
3970526a76
@ -9,7 +9,7 @@
|
|||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
vars:
|
vars:
|
||||||
snversion: testing_v1.1
|
snversion: master_v1.2
|
||||||
common_required_packages:
|
common_required_packages:
|
||||||
- git
|
- git
|
||||||
- make
|
- make
|
||||||
@ -69,9 +69,6 @@
|
|||||||
apt_repository: repo='deb http://http.debian.net/debian jessie-backports main' state=present
|
apt_repository: repo='deb http://http.debian.net/debian jessie-backports main' state=present
|
||||||
- name: Update apt cache
|
- name: Update apt cache
|
||||||
apt: update_cache=yes
|
apt: update_cache=yes
|
||||||
# - name: Install new kernel
|
|
||||||
# apt: name=linux-image-4.2.0-0.bpo.1-amd64 state=present
|
|
||||||
# register: kernel4
|
|
||||||
- name: Gathering facts
|
- name: Gathering facts
|
||||||
setup:
|
setup:
|
||||||
- name: Set IPv4 in hostfile
|
- name: Set IPv4 in hostfile
|
||||||
@ -217,12 +214,10 @@
|
|||||||
template: src=./files/named.conf.options.j2 dest=/etc/bind/named.conf.options owner=root group=bind mode=644
|
template: src=./files/named.conf.options.j2 dest=/etc/bind/named.conf.options owner=root group=bind mode=644
|
||||||
- name: Copy radvd config template
|
- name: Copy radvd config template
|
||||||
template: src=./files/radvd.conf.j2 dest=/etc/radvd.conf owner=radvd group=root mode=0444
|
template: src=./files/radvd.conf.j2 dest=/etc/radvd.conf owner=radvd group=root mode=0444
|
||||||
|
|
||||||
- name: Alfed message
|
- name: Alfed message
|
||||||
template: src=./files/alfred.sh.j2 dest=/opt/freifunk/alfred.sh owner=root group=root mode=0544
|
template: src=./files/alfred.sh.j2 dest=/opt/freifunk/alfred.sh owner=root group=root mode=0544
|
||||||
- name: Add cron job with alfred info script
|
- name: Add cron job with alfred info script
|
||||||
cron: name=alfred_info job="/opt/freifunk/alfred.sh > /dev/null 2>&1" user="root"
|
cron: name=alfred_info job="/opt/freifunk/alfred.sh > /dev/null 2>&1" user="root"
|
||||||
|
|
||||||
- name: Reboot the server finally
|
- name: Reboot the server finally
|
||||||
shell: sleep 2 && shutdown -r now "Ansible updates triggered"
|
shell: sleep 2 && shutdown -r now "Ansible updates triggered"
|
||||||
async: 1
|
async: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user