-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathworkstation-cron-monthly.yml
executable file
·44 lines (37 loc) · 1.31 KB
/
workstation-cron-monthly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This file is part of Remediations.
#
# Remediations is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Remediations is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Remediations. If not, see <https://www.gnu.org/licenses/>.
---
- hosts: all
environment:
PATH: "{{ansible_env.PATH}}:/sbin:/usr/sbin:/usr/local/sbin"
vars_files:
- inventories/subnets/subnets.yml
pre_tasks:
# Set installation type (workstation/mobile-device/flash-drive/thin-client/distribution-point/server)
- name: Set installation type
set_fact:
var_installation_type: workstation
tags: always
- include_tasks: roles/pre-tasks/tasks/main.yml
tags: always
- include_tasks: roles/apt/tasks/set-local-repo.yml
tags: always
roles:
- role: cron-monthly
- role: utmost-report
post_tasks:
- name: Debug
debug:
msg: "{{ansible_facts}}"