2016-11-07 14:00:57 +01:00
|
|
|
---
|
2017-11-27 14:27:13 +01:00
|
|
|
|
|
|
|
- include_role:
|
|
|
|
name: remount-usr
|
|
|
|
|
2016-11-07 14:00:57 +01:00
|
|
|
- name: Scripts dir is present
|
|
|
|
file:
|
2016-12-19 14:19:35 +01:00
|
|
|
path: "/usr/share/scripts"
|
2016-11-07 14:00:57 +01:00
|
|
|
state: directory
|
2017-05-19 23:01:24 +02:00
|
|
|
owner: root
|
|
|
|
group: root
|
2017-03-23 16:59:43 +01:00
|
|
|
mode: "0700"
|
2016-11-07 14:00:57 +01:00
|
|
|
|
|
|
|
- name: Copy listupgrade script
|
2019-08-27 14:53:42 +02:00
|
|
|
copy:
|
|
|
|
src: listupgrade.sh
|
2016-12-19 14:19:35 +01:00
|
|
|
dest: "/usr/share/scripts/listupgrade.sh"
|
2017-03-23 16:59:43 +01:00
|
|
|
mode: "0700"
|
2016-11-07 14:00:57 +01:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
force: yes
|
|
|
|
|
|
|
|
- name: Create /etc/evolinux
|
|
|
|
file:
|
|
|
|
path: /etc/evolinux
|
|
|
|
state: directory
|
2017-05-19 23:01:24 +02:00
|
|
|
owner: root
|
|
|
|
group: root
|
2017-10-17 18:08:18 +02:00
|
|
|
mode: "0700"
|
2016-11-07 14:00:57 +01:00
|
|
|
|
|
|
|
- name: Copy listupgrade config
|
|
|
|
template:
|
|
|
|
src: listupgrade.cnf.j2
|
|
|
|
dest: /etc/evolinux/listupgrade.cnf
|
2017-03-23 16:59:43 +01:00
|
|
|
mode: "0600"
|
2016-11-07 14:00:57 +01:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
force: no
|
|
|
|
|
2017-05-19 23:01:24 +02:00
|
|
|
- name: Cron.d is present
|
|
|
|
file:
|
|
|
|
path: "/etc/cron.d"
|
|
|
|
state: directory
|
|
|
|
mode: "0755"
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
|
2016-11-07 14:00:57 +01:00
|
|
|
- name: Enable listupgrade cron
|
2019-08-27 14:53:42 +02:00
|
|
|
copy:
|
|
|
|
src: listupgrade_cron
|
2016-11-07 14:00:57 +01:00
|
|
|
dest: /etc/cron.d/listupgrade
|
2017-03-23 16:59:43 +01:00
|
|
|
mode: "0600"
|
2016-11-07 14:00:57 +01:00
|
|
|
owner: root
|
|
|
|
group: root
|