Skip to content

Commit bd14638

Browse files
committedApr 30, 2022
enabling services, added docker
1 parent bf66c26 commit bd14638

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Dev Setup
1+
# Dev Tools
22

33
My development setup. Includes dotfiles/configs, apps, tools, vscode extensions, neovim plugins, etc.
44

‎arch_install_packages.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Ansible playbook to install packages on Arch based distros
12
- name: Install packages
23
hosts: localhost
34
when: ansible_facts['os_family'] == "Archlinux"
@@ -6,6 +7,7 @@
67
- './vars/gui_apps.yaml'
78
- './vars/arch_apps.yaml'
89
- './vars/linux_apps.yaml'
10+
- './vars/linux_services.yaml'
911
tasks:
1012
- name: Upgrade, equivalent of "pacman -Syu"
1113
community.general.pacman:
@@ -31,5 +33,11 @@
3133
- '{{ aur_terminal_apps }}'
3234
- '{{ aur_gui_apps }}'
3335

36+
- name: Enable services
37+
ansible.builtin.service:
38+
name: '{{ item }}'
39+
enabled: yes
40+
with_items: '{{ linux_services }}'
41+
3442
- name: Cleanup
3543
ansible.builtin.shell: ./scripts/arch-cleanup.sh

‎vars/linux_services.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
# Linux services that should be enabled
3+
4+
linux_services:
5+
- opensnitchd # https://github.com/evilsocket/opensnitch
6+
- docker # https://www.docker.com/

‎vars/terminal_apps.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ terminal_apps:
2121
- tree # http://mama.indstate.edu/users/ice/tree/
2222
- tldr # https://github.com/tldr-pages/tldr
2323
- jq # https://github.com/stedolan/jq
24+
- docker # https://www.docker.com/
25+
- docker-compose # https://docs.docker.com/compose/

0 commit comments

Comments
 (0)
Please sign in to comment.