Fix some arch-specific "becomes"
This commit is contained in:
@@ -107,6 +107,7 @@
|
|||||||
create_home: true
|
create_home: true
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
system: true
|
system: true
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: create paru user on arch
|
- name: create paru user on arch
|
||||||
user:
|
user:
|
||||||
@@ -115,6 +116,7 @@
|
|||||||
create_home: true
|
create_home: true
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
system: true
|
system: true
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: configure passwordless sudo for paru user
|
- name: configure passwordless sudo for paru user
|
||||||
copy:
|
copy:
|
||||||
@@ -180,6 +182,7 @@
|
|||||||
- name: force-update iptables to iptables-nft on arch
|
- name: force-update iptables to iptables-nft on arch
|
||||||
shell: pacman -Q iptables-nft || yes | pacman -S iptables-nft
|
shell: pacman -Q iptables-nft || yes | pacman -S iptables-nft
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
become: true
|
||||||
when: distro == 'archlinux'
|
when: distro == 'archlinux'
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
|
|||||||
Reference in New Issue
Block a user