mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-21 04:10:23 -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
|
@ -75,17 +75,17 @@ author:
|
|||
|
||||
EXAMPLES = r'''
|
||||
- name: Ensure entry like "EMAIL=doug@ansibmod.con.com" exists
|
||||
cronvar:
|
||||
community.general.cronvar:
|
||||
name: EMAIL
|
||||
value: doug@ansibmod.con.com
|
||||
|
||||
- name: Ensure a variable does not exist. This may remove any variable named "LEGACY"
|
||||
cronvar:
|
||||
community.general.cronvar:
|
||||
name: LEGACY
|
||||
state: absent
|
||||
|
||||
- name: Add a variable to a file under /etc/cron.d
|
||||
cronvar:
|
||||
community.general.cronvar:
|
||||
name: LOGFILE
|
||||
value: /var/log/yum-autoupdate.log
|
||||
user: root
|
||||
|
@ -318,13 +318,13 @@ class CronVar(object):
|
|||
def main():
|
||||
# The following example playbooks:
|
||||
#
|
||||
# - cronvar: name="SHELL" value="/bin/bash"
|
||||
# - community.general.cronvar: name="SHELL" value="/bin/bash"
|
||||
#
|
||||
# - name: Set the email
|
||||
# cronvar: name="EMAILTO" value="doug@ansibmod.con.com"
|
||||
# community.general.cronvar: name="EMAILTO" value="doug@ansibmod.con.com"
|
||||
#
|
||||
# - name: Get rid of the old new host variable
|
||||
# cronvar: name="NEW_HOST" state=absent
|
||||
# community.general.cronvar: name="NEW_HOST" state=absent
|
||||
#
|
||||
# Would produce:
|
||||
# SHELL = /bin/bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue