mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-29 04:19:15 -07:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
parent
8b92e0454d
commit
41cfdda6a3
533 changed files with 2130 additions and 2130 deletions
|
@ -55,23 +55,23 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Get all current balancer pool members attributes
|
||||
apache2_mod_proxy:
|
||||
community.general.apache2_mod_proxy:
|
||||
balancer_vhost: 10.0.0.2
|
||||
|
||||
- name: Get a specific member attributes
|
||||
apache2_mod_proxy:
|
||||
community.general.apache2_mod_proxy:
|
||||
balancer_vhost: myws.mydomain.org
|
||||
balancer_suffix: /lb/
|
||||
member_host: node1.myws.mydomain.org
|
||||
|
||||
# Enable all balancer pool members:
|
||||
- name: Get attributes
|
||||
apache2_mod_proxy:
|
||||
community.general.apache2_mod_proxy:
|
||||
balancer_vhost: '{{ myloadbalancer_host }}'
|
||||
register: result
|
||||
|
||||
- name: Enable all balancer pool members
|
||||
apache2_mod_proxy:
|
||||
community.general.apache2_mod_proxy:
|
||||
balancer_vhost: '{{ myloadbalancer_host }}'
|
||||
member_host: '{{ item.host }}'
|
||||
state: present
|
||||
|
@ -79,7 +79,7 @@ EXAMPLES = '''
|
|||
|
||||
# Gracefully disable a member from a loadbalancer node:
|
||||
- name: Step 1
|
||||
apache2_mod_proxy:
|
||||
community.general.apache2_mod_proxy:
|
||||
balancer_vhost: '{{ vhost_host }}'
|
||||
member_host: '{{ member.host }}'
|
||||
state: drained
|
||||
|
@ -93,7 +93,7 @@ EXAMPLES = '''
|
|||
delegate_to: myloadbalancernode
|
||||
|
||||
- name: Step 3
|
||||
apache2_mod_proxy:
|
||||
community.general.apache2_mod_proxy:
|
||||
balancer_vhost: '{{ vhost_host }}'
|
||||
member_host: '{{ member.host }}'
|
||||
state: absent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue