Bläddra i källkod

role creation

master
förälder
incheckning
2a342133b1
1 ändrade filer med 19 tillägg och 0 borttagningar
  1. +19
    -0
      tasks/main.yml

+ 19
- 0
tasks/main.yml Visa fil

@@ -1 +1,20 @@
---

- name: Check if i386 is enabled
shell: dpkg --print-foreign-architectures | grep i386
register: result_i386_check
changed_when: result_i386_check.rc == 1
failed_when: result_i386_check.rc > 1

- name: Enable i386 architecture
command: dpkg --add-architecture i386
when: result_i386_check.rc == 1

- name: install multiarch libraries
apt:
pkg: "{{ item }}"
with_items:
- lib32stdc++6
- lib32z1
- lib32gcc1
when: ansible_architecture == "x86_64"

Laddar…
Avbryt
Spara