Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

main.yml 484B

il y a 6 ans
il y a 6 ans
1234567891011121314151617181920
  1. ---
  2. - name: Check if i386 is enabled
  3. shell: dpkg --print-foreign-architectures | grep i386
  4. register: result_i386_check
  5. changed_when: result_i386_check.rc == 1
  6. failed_when: result_i386_check.rc > 1
  7. - name: Enable i386 architecture
  8. command: dpkg --add-architecture i386
  9. when: result_i386_check.rc == 1
  10. - name: install multiarch libraries
  11. apt:
  12. pkg: "{{ item }}"
  13. with_items:
  14. - lib32stdc++6
  15. - lib32z1
  16. - lib32gcc1
  17. when: ansible_architecture == "x86_64"