Minor change

This commit is contained in:
flyingscorpio@arch-desktop 2022-02-21 22:55:46 +01:00
parent 65f71bbbba
commit b4aa028fff
2 changed files with 1 additions and 3 deletions

View file

@ -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 &&

View file

@ -9,6 +9,7 @@
register: pacmanconf
- name: Backup pacman.conf
become: true
copy:
src: /etc/pacman.conf
dest: /etc/pacman.conf.backup