Use FQCN for lxc_container module
This is currently using a redirect from ansible.builtin.lxc_container to community.general.lxc_container, so be explicit about which module we are using. Change-Id: I9cdde57a10c7249687ee47fe91a3e84160b46ce1
This commit is contained in:
parent
d6f0630c8c
commit
0b897c1eb0
@ -54,7 +54,7 @@
|
||||
- Lxc container restart
|
||||
|
||||
- name: Create and start the container
|
||||
lxc_container:
|
||||
community.general.lxc_container:
|
||||
name: "{{ inventory_hostname }}"
|
||||
state: started
|
||||
delegate_to: "{{ physical_host }}"
|
||||
|
@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
- name: Create container (dir)
|
||||
lxc_container:
|
||||
community.general.lxc_container:
|
||||
name: "{{ inventory_hostname }}"
|
||||
container_log: true
|
||||
container_log_level: "{{ (debug | bool) | ternary('DEBUG', 'INFO') }}"
|
||||
|
@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
- name: Create container (lvm)
|
||||
lxc_container:
|
||||
community.general.lxc_container:
|
||||
name: "{{ inventory_hostname }}"
|
||||
container_log: true
|
||||
container_log_level: "{{ (debug | bool) | ternary('DEBUG', 'INFO') }}"
|
||||
|
@ -18,7 +18,7 @@
|
||||
# will build and store all containers using a copy-on-write
|
||||
# snapshot from the base image stored withine machinectl.
|
||||
- name: Create container (machinectl)
|
||||
lxc_container:
|
||||
community.general.lxc_container:
|
||||
name: "{{ inventory_hostname }}"
|
||||
container_log: true
|
||||
container_log_level: "{{ (debug | bool) | ternary('DEBUG', 'INFO') }}"
|
||||
|
@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
- name: Delete container from host
|
||||
lxc_container:
|
||||
community.general.lxc_container:
|
||||
name: "{{ inventory_hostname }}"
|
||||
state: "absent"
|
||||
delegate_to: "{{ physical_host }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user