Update dnf.py (#79679)

pull/79894/head
Bartłomiej Kida 1 year ago committed by GitHub
parent 913e4863af
commit 0ab53aefc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -318,6 +318,14 @@ EXAMPLES = '''
name: "*"
state: latest
- name: Update the webserver, depending on which is installed on the system. Do not install the other one
ansible.builtin.dnf:
name:
- httpd
- nginx
state: latest
update_only: yes
- name: Install the nginx rpm from a remote repo
ansible.builtin.dnf:
name: 'http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm'

Loading…
Cancel
Save