ops/Semaphore/playbooks/docker-ps.yml aktualisiert
This commit is contained in:
@@ -2,10 +2,10 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Run docker ps
|
- name: Run docker ps without python
|
||||||
shell: docker ps
|
raw: docker ps
|
||||||
register: docker_ps
|
register: docker_ps
|
||||||
|
|
||||||
- name: Show docker ps output
|
- name: Show stdout
|
||||||
debug:
|
debug:
|
||||||
var: docker_ps.stdout_lines
|
msg: "{{ docker_ps.stdout_lines }}"
|
||||||
Reference in New Issue
Block a user