Sfoglia il codice sorgente

role creation

master
parent
commit
2a342133b1
1 ha cambiato i file con 19 aggiunte e 0 eliminazioni
  1. +19
    -0
      tasks/main.yml

+ 19
- 0
tasks/main.yml Vedi File

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

Loading…
Annulla
Salva