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:
Jonathan Rosser 2023-10-24 08:00:04 +01:00
parent d6f0630c8c
commit 0b897c1eb0
5 changed files with 5 additions and 5 deletions

View File

@ -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 }}"

View File

@ -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') }}"

View File

@ -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') }}"

View File

@ -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') }}"

View File

@ -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 }}"