Import iniziale.

This commit is contained in:
Emiliano Vavassori 2020-04-29 21:18:01 +02:00
commit d20346a467
16 changed files with 84 additions and 0 deletions

8
ansible.cfg Normal file
View File

@ -0,0 +1,8 @@
[defaults]
host_key_checking=False
inventory=hosts
roles_path=roles
remote_tmp=/tmp/.ansible-${USER}
retry_file_enabled=False
interpreter_python=auto_legacy_silent
timeout = 30

1
hosts Normal file
View File

@ -0,0 +1 @@
localhost

6
install.yml Normal file
View File

@ -0,0 +1,6 @@
---
- hosts: localhost
roles:
- install
become: yes
become_user: root

View File

@ -0,0 +1,3 @@
---
# Calibre
- apt: name=calibre state=present

View File

@ -0,0 +1,2 @@
---
- apt: name=chromium state=present

View File

@ -0,0 +1,6 @@
---
- apt:
name:
- firefox
- firefox-locale-it
state: present

View File

@ -0,0 +1,6 @@
---
- apt:
name:
- gimp
- gimp-help-it
state: present

View File

@ -0,0 +1,6 @@
---
- get_url:
url: "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
dest: /tmp/google-chrome-stable_current_amd64.deb
- apt: name=/tmp/google-chrome-stable_current_amd64.deb state=present

View File

@ -0,0 +1,2 @@
---
- apt: name=inkscape state=present

View File

@ -0,0 +1,12 @@
dependencies:
- googlechrome
- firefox
- chromium
- libreoffice
- scribus
- calibre
- gimp
- inkscape
- openshot
- vlc
- zoom

View File

@ -0,0 +1,12 @@
---
# LibreOffice and its compendiary packages
- apt:
name:
- libreoffice
- libreoffice-gnome
- libreoffice-help-it
- libreoffice-l10n-it
- libreoffice-librelogo
- openclipart-libreoffice
state: present

View File

@ -0,0 +1,2 @@
---
- apt: name=openshot state=present

View File

@ -0,0 +1,2 @@
---
- apt: name=scribus state=present

2
roles/vlc/tasks/main.yml Normal file
View File

@ -0,0 +1,2 @@
---
- apt: name=vlc state=present

View File

@ -0,0 +1,9 @@
---
- get_url:
url: "https://zoom.us/client/latest/zoom_amd64.deb"
dest: /tmp/zoom_amd64.deb
- apt_key: keyserver=keyserver.ubuntu.com id=396060CADD8A75220BFCB369B903BF1861A7C71D
- apt: name=/tmp/zoom_amd64.deb state=present

5
run.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
apt install python3 python3-pip
pip3 install ansible --system
ansible-playbook install.yml