-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplaybook.yml
45 lines (42 loc) · 867 Bytes
/
playbook.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
44
45
---
- hosts: localhost
name: Base system setup
become: yes
remote_user: root
vars_prompt:
- name: "user_password"
prompt: "password for your new user"
private: yes
encrypt: "sha512_crypt"
confirm: yes
salt_size: 7
tasks:
- name: Read user preferences
include_vars:
file: preferences.yml
- import_role:
name: base
- hosts: localhost
name: Setup System Security
become: yes
remote_user: root
tasks:
- import_role:
name: security
- hosts: localhost
name: System Maintenance Tasks
become: yes
remote_user: root
tasks:
- import_role:
name: maintenance
- hosts: localhost
name: Install & Configure Desktop environment
become: yes
remote_user: root
tasks:
- name: Read user preferences
include_vars:
file: preferences.yml
# - import_role: TODO
# name: desktop