Browse Source

Import iniziale.

master
Emiliano Vavassori 2 years ago
commit
d20346a467
  1. 8
      ansible.cfg
  2. 1
      hosts
  3. 6
      install.yml
  4. 3
      roles/calibre/tasks/main.yml
  5. 2
      roles/chromium/tasks/main.yml
  6. 6
      roles/firefox/tasks/main.yml
  7. 6
      roles/gimp/tasks/main.yml
  8. 6
      roles/googlechrome/tasks/main.yml
  9. 2
      roles/inkscape/tasks/main.yml
  10. 12
      roles/install/meta/main.yml
  11. 12
      roles/libreoffice/tasks/main.yml
  12. 2
      roles/openshot/tasks/main.yml
  13. 2
      roles/scribus/tasks/main.yml
  14. 2
      roles/vlc/tasks/main.yml
  15. 9
      roles/zoom/tasks/main.yml
  16. 5
      run.sh

8
ansible.cfg

@ -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

@ -0,0 +1 @@
localhost

6
install.yml

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

3
roles/calibre/tasks/main.yml

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

2
roles/chromium/tasks/main.yml

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

6
roles/firefox/tasks/main.yml

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

6
roles/gimp/tasks/main.yml

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

6
roles/googlechrome/tasks/main.yml

@ -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

2
roles/inkscape/tasks/main.yml

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

12
roles/install/meta/main.yml

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

12
roles/libreoffice/tasks/main.yml

@ -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

2
roles/openshot/tasks/main.yml

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

2
roles/scribus/tasks/main.yml

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

2
roles/vlc/tasks/main.yml

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

9
roles/zoom/tasks/main.yml

@ -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

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