-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.yml.old
55 lines (48 loc) · 1.02 KB
/
local.yml.old
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
46
47
48
49
50
51
52
53
54
55
---
- hosts: localhost
connection: local
become: true
tasks:
- name: install core packages
package:
name:
- htop
- tmux
- vim
- mc
- neofetch
- curl
- name: copy dockerenvar file
copy:
src: files/dockerenvar
dest: /etc/environment
owner: root
group: root
- name: add ace
user:
name: ace
system: no
- name: set up sudo for ace
copy:
src: files/sudoer1
dest: /etc/sudoers.d/ace
owner: root
group: root
mode: 0440
- name: add ansible_admin
user:
name: ansible_admin
system: yes
- name: set up sudo for ansible_admin
copy:
src: files/sudoer2
dest: /etc/sudoers.d/ansible_admin
owner: root
group: root
mode: 0440
- name: add ansible-pull cron job
cron:
name: ansible auto-provision
user: ansible_admin
minute: "*/10"
job: ansible-pull --vault-password-file ~/.vault_key -o -U https://github.com/rdvm/ansible.git