Use lineinfile instead of calling out to dpkg
This commit is contained in:
parent
4b9ea3b3f6
commit
8946e7284f
@ -4,8 +4,10 @@
|
|||||||
- name: Configure system packages
|
- name: Configure system packages
|
||||||
block:
|
block:
|
||||||
- name: Enable i386 architecture
|
- name: Enable i386 architecture
|
||||||
command: /usr/bin/dpkg --add-architecture i386
|
lineinfile:
|
||||||
changed_when: no
|
dest: /var/lib/dpkg/arch
|
||||||
|
line: i386
|
||||||
|
create: yes
|
||||||
- name: Add repo keys
|
- name: Add repo keys
|
||||||
apt_key:
|
apt_key:
|
||||||
keyserver: 'keyserver.ubuntu.com'
|
keyserver: 'keyserver.ubuntu.com'
|
||||||
|
Loading…
Reference in New Issue
Block a user