Commit fafc0947 authored by Tomas Krizek's avatar Tomas Krizek

distro/tests: turn off shell warning when using pkg manager commands

parent 4b9bdef8
...@@ -74,6 +74,8 @@ ...@@ -74,6 +74,8 @@
- name: configure OBS repository - name: configure OBS repository
shell: "{{ configure_obs_repo[ansible_distribution] }}" shell: "{{ configure_obs_repo[ansible_distribution] }}"
args:
warn: false
with_items: "{{ repos }}" with_items: "{{ repos }}"
when: ansible_distribution_file_variety != 'Archlinux' when: ansible_distribution_file_variety != 'Archlinux'
...@@ -101,6 +103,8 @@ ...@@ -101,6 +103,8 @@
dest: /etc/pacman.d/mirrorlist dest: /etc/pacman.d/mirrorlist
- name: sync repos (Arch) - name: sync repos (Arch)
shell: pacman -Syu --noconfirm shell: pacman -Syu --noconfirm
args:
warn: false
when: ansible_distribution_file_variety == 'Archlinux' when: ansible_distribution_file_variety == 'Archlinux'
- name: install knot-resolver - name: install knot-resolver
...@@ -110,6 +114,8 @@ ...@@ -110,6 +114,8 @@
- name: get installed package version - name: get installed package version
shell: "{{ show_package_version[ansible_distribution] }}" shell: "{{ show_package_version[ansible_distribution] }}"
args:
warn: false
register: package_version register: package_version
- name: install dig - name: install dig
......
Markdown is supported
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