mirror of https://github.com/ceph/ceph-ansible.git
tests: update the system before deploying
Having a system up-to-date is usually a good idea.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 3e87df5e8f
)
pull/7121/head
parent
f7b7ba30d9
commit
9519dd8995
|
@ -13,6 +13,11 @@
|
|||
set_fact:
|
||||
is_atomic: '{{ stat_ostree.stat.exists }}'
|
||||
|
||||
- name: update the system
|
||||
command: dnf update -y
|
||||
changed_when: false
|
||||
when: not is_atomic | bool
|
||||
|
||||
- name: get root mount information
|
||||
set_fact:
|
||||
rootmount: "{{ ansible_facts['mounts']|json_query('[?mount==`/`]|[0]') }}"
|
||||
|
|
Loading…
Reference in New Issue