Move what can be shared in the base role out to the common tasks file.
This commit is contained in:
parent
2e0a6073c8
commit
b69934072f
@ -13,3 +13,5 @@
|
|||||||
gpgsign = true
|
gpgsign = true
|
||||||
[pull]
|
[pull]
|
||||||
rebase = true
|
rebase = true
|
||||||
|
[log]
|
||||||
|
date = local
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
**/backend/test_data
|
||||||
|
**/backend/notebooks
|
@ -1,3 +1,38 @@
|
|||||||
|
- name: Install packages
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- rsync
|
||||||
|
- bash
|
||||||
|
- tmux
|
||||||
|
- lsof
|
||||||
|
- mg
|
||||||
|
- htop
|
||||||
|
- tree
|
||||||
|
- curl
|
||||||
|
- ncdu
|
||||||
|
- ripgrep
|
||||||
|
- git-crypt
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Set timezone
|
||||||
|
file:
|
||||||
|
src: "/usr/share/zoneinfo/{{ timezone|default('UTC') }}"
|
||||||
|
dest: /etc/localtime
|
||||||
|
owner: root
|
||||||
|
group: wheel
|
||||||
|
state: link
|
||||||
|
|
||||||
|
- name: Install scripts
|
||||||
|
copy:
|
||||||
|
src: "files/{{ item.src }}"
|
||||||
|
dest: "{{ item.dest }}"
|
||||||
|
mode: 0755
|
||||||
|
owner: root
|
||||||
|
group: wheel
|
||||||
|
loop:
|
||||||
|
- src: git_branches_by_owner_time
|
||||||
|
dest: /usr/local/bin/git_branches_by_owner_time
|
||||||
|
|
||||||
- import_tasks: tasks/freebsd.yaml
|
- import_tasks: tasks/freebsd.yaml
|
||||||
when: 'os_flavor == "freebsd"'
|
when: 'os_flavor == "freebsd"'
|
||||||
|
|
||||||
|
@ -1,18 +1,7 @@
|
|||||||
- name: Install packages
|
- name: Install packages
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- rsync
|
|
||||||
- bash
|
|
||||||
- tmux
|
|
||||||
- lsof
|
|
||||||
- mg
|
|
||||||
- htop
|
|
||||||
- tree
|
|
||||||
- curl
|
|
||||||
- pstree
|
- pstree
|
||||||
- ncdu
|
|
||||||
- ripgrep
|
|
||||||
- git-crypt
|
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: See if the alacritty termcap has been added
|
- name: See if the alacritty termcap has been added
|
||||||
@ -104,22 +93,3 @@
|
|||||||
src: tmpfs
|
src: tmpfs
|
||||||
fstype: tmpfs
|
fstype: tmpfs
|
||||||
opts: rw,mode=777
|
opts: rw,mode=777
|
||||||
|
|
||||||
- name: Set timezone
|
|
||||||
file:
|
|
||||||
src: "/usr/share/zoneinfo/{{ timezone|default('UTC') }}"
|
|
||||||
dest: /etc/localtime
|
|
||||||
owner: root
|
|
||||||
group: wheel
|
|
||||||
state: link
|
|
||||||
|
|
||||||
- name: Install scripts
|
|
||||||
copy:
|
|
||||||
src: "files/{{ item.src }}"
|
|
||||||
dest: "{{ item.dest }}"
|
|
||||||
mode: 0755
|
|
||||||
owner: root
|
|
||||||
group: wheel
|
|
||||||
loop:
|
|
||||||
- src: git_branches_by_owner_time
|
|
||||||
dest: /usr/local/bin/git_branches_by_owner_time
|
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
- name: Install packages
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- psmisc
|
||||||
|
state: present
|
Loading…
x
Reference in New Issue
Block a user