📅  最后修改于: 2022-03-11 14:49:28.047000             🧑  作者: Mango
# Tags goes at same indentation as name or service:
- name: Create Postgres Container
tags: createcontainer
docker_container:
name: mypostgres
...
# Then in the command line:
ansible-playbook myplaybook.yaml --tags createcontainer