mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
modules: fix examples to use FQCN for builtin modules (#648)
* modules: fix examples to use FQCN for builtin modules * fix * fix * fix * fix * fix * fix * fix
This commit is contained in:
@@ -92,11 +92,11 @@ EXAMPLES = '''
|
||||
register: result
|
||||
|
||||
- name: Fail if service not loaded
|
||||
fail: msg="The {{ result.name }} service is not loaded"
|
||||
ansible.builtin.fail: msg="The {{ result.name }} service is not loaded"
|
||||
when: not result.status
|
||||
|
||||
- name: Fail if service is running
|
||||
fail: msg="The {{ result.name }} service is running"
|
||||
ansible.builtin.fail: msg="The {{ result.name }} service is running"
|
||||
when: result.status and result.status['DaemontoolsEncoreState'] == "running"
|
||||
'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user