mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-03-22 02:29:08 +00:00
Change present state to be as created state (#263)
For being more compliant with docker module. See #257
This commit is contained in:
parent
8ada1501f6
commit
9ff36649ab
14 changed files with 96 additions and 51 deletions
|
|
@ -8,7 +8,7 @@
|
|||
containers.podman.podman_container:
|
||||
image: "{{ idem_image }}"
|
||||
name: idempotency
|
||||
state: present
|
||||
state: started
|
||||
command: 1h
|
||||
|
||||
- name: Run container again
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
- containers.podman.podman_container:
|
||||
image: "{{ idem_image }}"
|
||||
name: idempotency
|
||||
state: present
|
||||
state: started
|
||||
command: 1h
|
||||
|
||||
- containers.podman.podman_container:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
name: netcontainer
|
||||
image: "{{ idem_image }}"
|
||||
command: 1h
|
||||
state: present
|
||||
state: started
|
||||
network: "{{ item.first_net }}"
|
||||
|
||||
- name: Run container again with {{ item.first_net }}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
- containers.podman.podman_container:
|
||||
image: "{{ idem_image }}"
|
||||
name: idempotency
|
||||
state: present
|
||||
state: started
|
||||
command: 1h
|
||||
|
||||
- containers.podman.podman_container:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
- containers.podman.podman_container:
|
||||
image: "{{ idem_image }}"
|
||||
name: idempotency
|
||||
state: present
|
||||
state: started
|
||||
command: 1h
|
||||
|
||||
- containers.podman.podman_container:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
- containers.podman.podman_container:
|
||||
image: "{{ idem_image }}"
|
||||
name: idempotency
|
||||
state: present
|
||||
state: started
|
||||
command: 1h
|
||||
|
||||
- containers.podman.podman_container:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
- containers.podman.podman_container:
|
||||
image: "{{ idem_image }}"
|
||||
name: idempotency
|
||||
state: present
|
||||
state: started
|
||||
command: 1h
|
||||
|
||||
- containers.podman.podman_container:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
- containers.podman.podman_container:
|
||||
image: "{{ idem_image }}"
|
||||
name: idempotency
|
||||
state: present
|
||||
state: started
|
||||
command: 1h
|
||||
|
||||
- containers.podman.podman_container:
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
containers.podman.podman_container:
|
||||
image: "{{ idem_image }}"
|
||||
name: root-idempotency
|
||||
state: present
|
||||
state: started
|
||||
command: 1h
|
||||
|
||||
- name: Run container as is again
|
||||
|
|
@ -93,14 +93,14 @@
|
|||
containers.podman.podman_container:
|
||||
image: "{{ idem_image }}"
|
||||
name: root-idempotency
|
||||
state: present
|
||||
state: started
|
||||
command: 1h
|
||||
|
||||
- name: Run containers with MAC address
|
||||
containers.podman.podman_container:
|
||||
image: "{{ idem_image }}"
|
||||
name: root-idempotency
|
||||
state: present
|
||||
state: started
|
||||
command: 1h
|
||||
mac_address: 44:55:66:77:88:99
|
||||
register: info4
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
name: rootlessnet
|
||||
image: "{{ idem_image }}"
|
||||
command: 1h
|
||||
state: present
|
||||
state: started
|
||||
|
||||
- name: Run container again with no specified networks
|
||||
containers.podman.podman_container:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue