blob: fe4a396ca8c262f759f73be1af5f6ae34e1cdb8c (
plain) (
blame)
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
|
---
- name: load os/distrubtion/version specific tasks
vars:
params:
files:
- "{{ ansible_distribution_release }}.yml"
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"
loop: "{{ q('first_found', params) }}"
loop_control:
loop_var: tasks_file
include_tasks: "{{ tasks_file }}"
- name: Remove startup message from screen
lineinfile:
regexp: "^startup_message"
line: "startup_message off"
dest: /etc/screenrc
mode: 0644
- name: install htop config (1/2)
loop:
- /root
- /etc/skel
file:
name: "{{ item }}/.config/htop/"
state: directory
mode: 0700
- name: install htop config (2/2)
loop:
- /root
- /etc/skel
copy:
src: "{{ global_files_dir }}/common/htoprc"
dest: "{{ item }}/.config/htop/"
- name: configure timezone
timezone:
name: "{{ base_timezone }}"
|