mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user