blob: 0b6f1a790a6a34650d9ed78a9b0fd08d137b5f97 (
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
|
---
- name: Create jumbotron user
user:
comment: 'John Jumbotron'
name: jumbotron
shell: '/bin/bash'
uid: 3000
group: users
- name: Create jumbotron dotfiles
copy:
dest: '~jumbotron/.{{ item.name }}'
src: '{{ item.name }}'
owner: jumbotron
group: users
mode: '{{ item.mode }}'
with_items:
- { name: bash_profile, mode: 0o644 }
- { name: autologin, mode: 0o755 }
- name: Check out jumbotron repo
git:
dest: '~jumbotron/jumbotron'
repo: 'https://github.com/labitat/jumbotron.git'
accept_hostkey: yes
clone: yes
update: yes
remote: origin
- name: Make sure jumbotron owns git repo
file:
dest: '~jumbotron/jumbotron'
owner: jumbotron
group: users
recurse: yes
# vim: set ts=2 sw=2 et:
|