mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-07 17:04:02 -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
|
@ -80,35 +80,35 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Make sure spell foo is installed
|
||||
sorcery:
|
||||
community.general.sorcery:
|
||||
spell: foo
|
||||
state: present
|
||||
|
||||
- name: Make sure spells foo, bar and baz are removed
|
||||
sorcery:
|
||||
community.general.sorcery:
|
||||
spell: foo,bar,baz
|
||||
state: absent
|
||||
|
||||
- name: Make sure spell foo with dependencies bar and baz is installed
|
||||
sorcery:
|
||||
community.general.sorcery:
|
||||
spell: foo
|
||||
depends: bar,baz
|
||||
state: present
|
||||
|
||||
- name: Make sure spell foo with bar and without baz dependencies is installed
|
||||
sorcery:
|
||||
community.general.sorcery:
|
||||
spell: foo
|
||||
depends: +bar,-baz
|
||||
state: present
|
||||
|
||||
- name: Make sure spell foo with libressl (providing SSL) dependency is installed
|
||||
sorcery:
|
||||
community.general.sorcery:
|
||||
spell: foo
|
||||
depends: libressl(SSL)
|
||||
state: present
|
||||
|
||||
- name: Make sure spells with/without required dependencies (if any) are installed
|
||||
sorcery:
|
||||
community.general.sorcery:
|
||||
name: "{{ item.spell }}"
|
||||
depends: "{{ item.depends | default(None) }}"
|
||||
state: present
|
||||
|
@ -118,29 +118,29 @@ EXAMPLES = '''
|
|||
- { spell: 'pv,tnftp,tor' }
|
||||
|
||||
- name: Install the latest version of spell foo using regular glossary
|
||||
sorcery:
|
||||
community.general.sorcery:
|
||||
name: foo
|
||||
state: latest
|
||||
|
||||
- name: Rebuild spell foo
|
||||
sorcery:
|
||||
community.general.sorcery:
|
||||
spell: foo
|
||||
state: rebuild
|
||||
|
||||
- name: Rebuild the whole system, but update Sorcery and Codex first
|
||||
sorcery:
|
||||
community.general.sorcery:
|
||||
spell: '*'
|
||||
state: rebuild
|
||||
update: yes
|
||||
update_cache: yes
|
||||
|
||||
- name: Refresh the grimoire collection if it is 1 day old using native sorcerous alias
|
||||
sorcery:
|
||||
community.general.sorcery:
|
||||
update_codex: yes
|
||||
cache_valid_time: 86400
|
||||
|
||||
- name: Update only Sorcery itself
|
||||
sorcery:
|
||||
community.general.sorcery:
|
||||
update: yes
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue