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
|
||||
block:
|
||||
- name: Enable i386 architecture
|
||||
command: /usr/bin/dpkg --add-architecture i386
|
||||
changed_when: no
|
||||
lineinfile:
|
||||
dest: /var/lib/dpkg/arch
|
||||
line: i386
|
||||
create: yes
|
||||
- name: Add repo keys
|
||||
apt_key:
|
||||
keyserver: 'keyserver.ubuntu.com'
|
||||
|
Loading…
Reference in New Issue
Block a user