|
|
@ -318,6 +318,14 @@ EXAMPLES = '''
|
|
|
|
name: "*"
|
|
|
|
name: "*"
|
|
|
|
state: latest
|
|
|
|
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
|
|
|
|
- name: Install the nginx rpm from a remote repo
|
|
|
|
ansible.builtin.dnf:
|
|
|
|
ansible.builtin.dnf:
|
|
|
|
name: 'http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm'
|
|
|
|
name: 'http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm'
|
|
|
|