Minor change
This commit is contained in:
parent
65f71bbbba
commit
b4aa028fff
2 changed files with 1 additions and 3 deletions
|
@ -11,9 +11,6 @@ sudoers:
|
|||
- sudo chmod 600 /etc/sudoers.d/setup-cockpit
|
||||
|
||||
pacman.conf:
|
||||
- run:
|
||||
command: sudo cp /etc/pacman.conf /etc/pacman.conf.backup
|
||||
condition: "[ ! -e /etc/pacman.conf.backup ]"
|
||||
- run:
|
||||
- sudo sed -i 's/#HookDir/HookDir/' /etc/pacman.conf &&
|
||||
sudo sed -i 's/#Color/Color/' /etc/pacman.conf &&
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
register: pacmanconf
|
||||
|
||||
- name: Backup pacman.conf
|
||||
become: true
|
||||
copy:
|
||||
src: /etc/pacman.conf
|
||||
dest: /etc/pacman.conf.backup
|
||||
|
|
Loading…
Add table
Reference in a new issue