mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
modules: fix examples to use FQCN for builtin plugins (#661)
This commit is contained in:
parent
2c3efea14b
commit
4c4a6ab27c
17 changed files with 36 additions and 36 deletions
|
@ -67,7 +67,7 @@ EXAMPLES = '''
|
|||
|
||||
# Examples to display the value of all or a single iDRAC attribute
|
||||
- name: Store iDRAC attributes as a fact variable
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
idrac_attributes: "{{ result.redfish_facts.entries | selectattr('Id', 'defined') | selectattr('Id', 'equalto', 'iDRACAttributes') | list | first }}"
|
||||
|
||||
- name: Display all iDRAC attributes
|
||||
|
@ -80,7 +80,7 @@ EXAMPLES = '''
|
|||
|
||||
# Examples to display the value of all or a single LifecycleController attribute
|
||||
- name: Store LifecycleController attributes as a fact variable
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
lc_attributes: "{{ result.redfish_facts.entries | selectattr('Id', 'defined') | selectattr('Id', 'equalto', 'LCAttributes') | list | first }}"
|
||||
|
||||
- name: Display LifecycleController attributes
|
||||
|
@ -93,7 +93,7 @@ EXAMPLES = '''
|
|||
|
||||
# Examples to display the value of all or a single System attribute
|
||||
- name: Store System attributes as a fact variable
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
system_attributes: "{{ result.redfish_facts.entries | selectattr('Id', 'defined') | selectattr('Id', 'equalto', 'SystemAttributes') | list | first }}"
|
||||
|
||||
- name: Display System attributes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue