mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 20:08:41 +00:00
##### SUMMARY
The current path to the running state does not include `output.services.` which it should.
##### ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
(cherry picked from commit c24ea78f6e)
Co-authored-by: David Jack Wange Olrik <david@olrik.dk>
This commit is contained in:
parent
42bd987d87
commit
7485ec0f8b
@ -228,8 +228,8 @@ EXAMPLES = '''
|
|||||||
|
|
||||||
- ansible.builtin.assert:
|
- ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- "not web.flask_web_1.state.running"
|
- "not output.services.web.flask_web_1.state.running"
|
||||||
- "not db.flask_db_1.state.running"
|
- "not output.services.db.flask_db_1.state.running"
|
||||||
|
|
||||||
- name: Restart services
|
- name: Restart services
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose:
|
||||||
@ -243,8 +243,8 @@ EXAMPLES = '''
|
|||||||
|
|
||||||
- ansible.builtin.assert:
|
- ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- "web.flask_web_1.state.running"
|
- "output.services.web.flask_web_1.state.running"
|
||||||
- "db.flask_db_1.state.running"
|
- "output.services.db.flask_db_1.state.running"
|
||||||
|
|
||||||
- name: Scale the web service to 2
|
- name: Scale the web service to 2
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
@ -291,8 +291,8 @@ EXAMPLES = '''
|
|||||||
|
|
||||||
- ansible.builtin.assert:
|
- ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- "web.flask_web_1.state.running"
|
- "output.services.web.flask_web_1.state.running"
|
||||||
- "db.flask_db_1.state.running"
|
- "output.services.db.flask_db_1.state.running"
|
||||||
|
|
||||||
- name: Run with inline Compose file version 1
|
- name: Run with inline Compose file version 1
|
||||||
# https://docs.docker.com/compose/compose-file/compose-file-v1/
|
# https://docs.docker.com/compose/compose-file/compose-file-v1/
|
||||||
@ -324,8 +324,8 @@ EXAMPLES = '''
|
|||||||
|
|
||||||
- ansible.builtin.assert:
|
- ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- "web.flask_web_1.state.running"
|
- "output.services.web.flask_web_1.state.running"
|
||||||
- "db.flask_db_1.state.running"
|
- "output.services.db.flask_db_1.state.running"
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user