1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_packages.git synced 2024-08-16 10:19:51 +02:00

Resolve int issue

This commit is contained in:
L3D 2019-07-17 22:59:12 +02:00
parent e506fe2da4
commit 80552aadff
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 10 additions and 11 deletions

View file

@ -17,14 +17,14 @@
cache_valid_time: 43200 cache_valid_time: 43200
when: when:
- ansible_os_family == 'Debian' - ansible_os_family == 'Debian'
- ansible_machine != 'armv6l' and ansible_distribution_version < 8 - ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy'
- name: Install common base packages [all] - name: Install common base packages [all]
become: yes become: yes
package: package:
name: "{{ base_packages }}" name: "{{ base_packages }}"
state: present state: present
when: ansible_machine != 'armv6l' and ansible_distribution_version < 8 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
@ -43,7 +43,7 @@
- ansible_distribution_version != "14.04" - ansible_distribution_version != "14.04"
- ansible_distribution_version != "12.04" - ansible_distribution_version != "12.04"
- ansible_distribution_release != 'wheezy' - ansible_distribution_release != 'wheezy'
- ansible_machine != 'armv6l' and ansible_distribution_version < 8 - ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy'
- name: Install extra packages - name: Install extra packages
become: true become: true
@ -53,7 +53,7 @@
when: when:
- packages_extra is defined - packages_extra is defined
- packages_extra != '[]' - packages_extra != '[]'
- ansible_machine != 'armv6l' and ansible_distribution_version < 8 - ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy'
- name: Remove rpcbind, nfs-common - name: Remove rpcbind, nfs-common
become: yes become: yes
@ -62,7 +62,7 @@
- rpcbind - rpcbind
- nfs-common - nfs-common
state: absent state: absent
when: ansible_machine != 'armv6l' and ansible_distribution_version < 8 when: ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy'
- name: Upgrade all packages to latest - name: Upgrade all packages to latest
become: true become: true
@ -71,7 +71,7 @@
state: latest state: latest
when: when:
- upgrade_packages_to_latest_version|bool - upgrade_packages_to_latest_version|bool
- ansible_machine != 'armv6l' and ansible_distribution_version < 8 - ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy'
- include_tasks: editor.yml - include_tasks: editor.yml
when: editor_is_vim | bool when: editor_is_vim | bool

View file

@ -11,8 +11,7 @@
cache_valid_time: 43200 cache_valid_time: 43200
when: when:
- ansible_distribution == 'Debian' - ansible_distribution == 'Debian'
- ansible_machine != 'armv6l' and ansible_distribution_version < 8 - ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy'
- name: add eth zurich apt - name: add eth zurich apt
become: true become: true
@ -22,7 +21,7 @@
when: when:
- add_ethz | bool - add_ethz | bool
- ansible_distribution == 'Debian' - ansible_distribution == 'Debian'
- ansible_machine != 'armv6l' and ansible_distribution_version < 8 - ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy'
- name: remove eth zurich apt - name: remove eth zurich apt
become: true become: true
@ -32,4 +31,4 @@
when: when:
- not add_ethz | bool - not add_ethz | bool
- ansible_distribution == 'Debian' - ansible_distribution == 'Debian'
- ansible_machine != 'armv6l' and ansible_distribution_version < 8 - ansible_machine != 'armv6l' and ansible_distribution_release != 'wheezy'

View file

@ -47,5 +47,5 @@ fedora_packages:
- python3-pip - python3-pip
- python3 - python3
playbook_version_number: 8965 # should be over ninethousand playbook_version_number: 8966 # should be over ninethousand
playbook_version_path: '/etc/ansible-version/base-packages_ffbsee_or_chaos-bodensee_github.version' playbook_version_path: '/etc/ansible-version/base-packages_ffbsee_or_chaos-bodensee_github.version'