Verified Commit 910903cd authored by Frederik Schwan's avatar Frederik Schwan Committed by Sven-Hendrik Haase
Browse files

fix E305 'Use shell only when shell functionality is required'

parent 211fc043
......@@ -20,7 +20,7 @@
unarchive: src={{ tempdir.path }}/pacman.tar.gz dest={{ tempdir.path }}/pacman/
- name: configure
shell: ./configure chdir={{ tempdir.path }}/pacman/pacman-{{ pacman_version }}
command: ./configure chdir={{ tempdir.path }}/pacman/pacman-{{ pacman_version }}
- name: make
make: chdir={{ tempdir.path }}/pacman/pacman-{{ pacman_version }}/doc target=website
......@@ -238,7 +238,7 @@
file: src=/run/systemd/resolve/stub-resolv.conf dest=/mnt/etc/resolv.conf state=link force=yes
- name: clean pacman cache
shell: yes | chroot /mnt pacman -Scc
command: chroot /mnt pacman -Scc --noconfirm
register: chroot_pacman_clean_cache
changed_when: "chroot_pacman_clean_cache.rc == 0"
......@@ -4,6 +4,8 @@
# they don't support ansible directly (no Python and such).
- name: create the root backup directory at {{ backup_dir }}
raw: mkdir -p {{ backup_dir }}
- skip_ansible_lint
- name: fetch ssh keys from each borg client machine
command: cat /root/.ssh/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment