Browse Source

Ancora fix a script. Gestione cheese e thunderbird.

master
Emiliano Vavassori 2 years ago
parent
commit
074717f7ad
  1. 6
      roles/cheese/tasks/main.yml
  2. 1
      roles/install/meta/main.yml
  3. 7
      roles/thunderbird/tasks/main.yml
  4. 4
      run.sh

6
roles/cheese/tasks/main.yml

@ -0,0 +1,6 @@
---
- apt:
name: cheese
state: present
when: hwpoints|int > 2

1
roles/install/meta/main.yml

@ -4,6 +4,7 @@ dependencies:
- googlechrome
- chromium
- firefox
- thunderbird
- libreoffice
- scribus
- calibre

7
roles/thunderbird/tasks/main.yml

@ -0,0 +1,7 @@
---
- apt:
name:
- thunderbird
- thunderbird-locale-it
state: present
when: hwpoints|int >= 2

4
run.sh

@ -1,5 +1,5 @@
#!/bin/bash
dpkg -l | grep python3-pip || apt -y install python3 python3-pip
which ansible || pip3 install ansible --system
dpkg -l | grep python3-pip >/dev/null || apt -y install python3 python3-pip
which ansible >/dev/null || pip3 install ansible --system
ansible-playbook install.yml

Loading…
Cancel
Save