1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_base.git synced 2024-08-16 14:29:50 +02:00

better rpi suport

This commit is contained in:
Lilian Roller 2019-11-28 16:39:18 +01:00
parent 8d67a024d9
commit 2da26f6e5a
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
2 changed files with 17 additions and 3 deletions

View file

@ -17,13 +17,24 @@
cache_valid_time: 43200 cache_valid_time: 43200
when: ansible_os_family == 'Debian' and ansible_distribution_version != '7' and ansible_distribution_release != 'wheezy' and ansible_machine != 'armv6l' when: ansible_os_family == 'Debian' and ansible_distribution_version != '7' and ansible_distribution_release != 'wheezy' and ansible_machine != 'armv6l'
- name: Install common base packages [all] - name: Install common base packages [all - wheezy]
become: yes
package:
name: "{{ base_packages_extended }}"
state: present
when:
- ansible_machine != 'armv6l'
- ansible_distribution_release != 'wheezy'
- ansible_architecture != 'armv7l'
- name: Install extended base packages [all - wheezy - rpi]
become: yes become: yes
package: package:
name: "{{ base_packages }}" name: "{{ base_packages }}"
state: present state: present
when: ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy' when: ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy'
- name: Install common base packages [Fedora] - name: Install common base packages [Fedora]
become: yes become: yes
package: package:

View file

@ -4,7 +4,6 @@ base_packages:
- tmux - tmux
- sudo - sudo
- fail2ban - fail2ban
- sysstat
- ethtool - ethtool
- vim - vim
- nmap - nmap
@ -16,6 +15,10 @@ base_packages:
- links - links
- gdisk - gdisk
base_packages_extended:
- tcpdump
- sysstat
debian_packages: debian_packages:
- debian-goodies - debian-goodies
- molly-guard - molly-guard
@ -54,5 +57,5 @@ fedora_packages:
- python3-pip - python3-pip
- python3 - python3
playbook_version_number: 8977 # should be over ninethousand playbook_version_number: 8978 # should be over ninethousand
playbook_version_path: 'base-packages_ffbsee_or_chaos-bodensee_github.version' playbook_version_path: 'base-packages_ffbsee_or_chaos-bodensee_github.version'