Browse Source

Initialize project

master
Jeckel 6 months ago
commit
e525bf9850
3 changed files with 32 additions and 0 deletions
  1. 3
    0
      deploy.sh
  2. 7
    0
      raspberry-lab.yml
  3. 22
    0
      roles/common/tasks/main.yml

+ 3
- 0
deploy.sh View File

@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
+
3
+ansible-playbook raspberry-lab.yml --ask-become-pass

+ 7
- 0
raspberry-lab.yml View File

@@ -0,0 +1,7 @@
1
+---
2
+- name: "Install Raspberry Lab"
3
+  hosts: localhost
4
+  connection: local
5
+  become_method: sudo
6
+  roles:
7
+    - role: common

+ 22
- 0
roles/common/tasks/main.yml View File

@@ -0,0 +1,22 @@
1
+---
2
+- name: "Install common packages"
3
+  apt:
4
+    name:
5
+      - apt-transport-https
6
+      - curl
7
+      - emacs
8
+      - geany
9
+      - git
10
+      - gzip
11
+      - htop
12
+      - lsb-release
13
+      - mc
14
+      - net-tools
15
+      - rsync
16
+      - vim
17
+      - wget
18
+      - whois
19
+      - xclip
20
+    state: present
21
+    update_cache: yes
22
+  become: yes

Loading…
Cancel
Save