modules: fix examples to use FQCN for builtin plugins (#661)

This commit is contained in:
Andrew Klychkov
2020-07-16 14:42:12 +03:00
committed by GitHub
parent 2c3efea14b
commit 4c4a6ab27c
17 changed files with 36 additions and 36 deletions

View File

@@ -189,7 +189,7 @@ EXAMPLES = '''
- ansible.builtin.debug:
var: output
- assert:
- ansible.builtin.assert:
that: "not output.changed "
- name: Stop all services
@@ -202,7 +202,7 @@ EXAMPLES = '''
- ansible.builtin.debug:
var: output
- assert:
- ansible.builtin.assert:
that:
- "not web.flask_web_1.state.running"
- "not db.flask_db_1.state.running"
@@ -217,7 +217,7 @@ EXAMPLES = '''
- ansible.builtin.debug:
var: output
- assert:
- ansible.builtin.assert:
that:
- "web.flask_web_1.state.running"
- "db.flask_db_1.state.running"
@@ -264,7 +264,7 @@ EXAMPLES = '''
- ansible.builtin.debug:
var: output
- assert:
- ansible.builtin.assert:
that:
- "web.flask_web_1.state.running"
- "db.flask_db_1.state.running"
@@ -296,7 +296,7 @@ EXAMPLES = '''
- ansible.builtin.debug:
var: output
- assert:
- ansible.builtin.assert:
that:
- "web.flask_web_1.state.running"
- "db.flask_db_1.state.running"

View File

@@ -62,7 +62,7 @@ EXAMPLES = '''
register: result
- name: Make sure that both images pacur/centos-7 and sinatra exist locally
assert:
ansible.builtin.assert:
that:
- result.images | length == 2
'''