Use Extended FQCN for community.general

This commit is contained in:
John Barker 2020-03-10 16:03:09 +00:00
parent f929bfe66d
commit bb291bef60
3 changed files with 11 additions and 11 deletions

View file

@ -231,7 +231,7 @@
when: ansible_system in ('Linux')
- name: Format FS
when: ansible_system in ('Linux')
community.general.filesystem:
community.general.system.filesystem:
fstype: ext3
dev: /tmp/myfs.img
- name: Mount the FS for the first time

View file

@ -19,7 +19,7 @@
- name: patch the origin file in check mode
check_mode: true
register: result
community.general.patch:
patch:
src: result.patch
dest: '{{ output_dir }}/patch/workfile.txt'
- name: verify patch the origin file in check mode
@ -28,7 +28,7 @@
- result is changed
- name: patch the origin file
register: result
community.general.patch:
patch:
src: result.patch
dest: '{{ output_dir }}/patch/workfile.txt'
- name: verify patch the origin file
@ -37,7 +37,7 @@
- result is changed
- name: test patch the origin file idempotency
register: result
community.general.patch:
patch:
src: result.patch
dest: '{{ output_dir }}/patch/workfile.txt'
- name: verify test patch the origin file idempotency
@ -53,7 +53,7 @@
- name: patch the workfile file in check mode state absent
check_mode: true
register: result
community.general.patch:
patch:
src: result.patch
dest: '{{ output_dir }}/patch/workfile.txt'
state: absent
@ -63,7 +63,7 @@
- result is changed
- name: patch the workfile file state absent
register: result
community.general.patch:
patch:
src: result.patch
dest: '{{ output_dir }}/patch/workfile.txt'
state: absent
@ -73,7 +73,7 @@
- result is changed
- name: patch the workfile file state absent idempotency
register: result
community.general.patch:
patch:
src: result.patch
dest: '{{ output_dir }}/patch/workfile.txt'
state: absent

View file

@ -4,7 +4,7 @@
- name: attempt to add mapping without 'seuser'
register: selogin_error
ignore_errors: true
community.general.selogin:
community.general.system.selogin:
login: seuser
- name: verify failure
assert:
@ -18,7 +18,7 @@
- false
- true
- false
community.general.selogin:
community.general.system.selogin:
login: seuser
seuser: staff_u
- name: new mapping- verify functionality and check_mode
@ -36,7 +36,7 @@
- false
- true
- false
community.general.selogin:
community.general.system.selogin:
login: seuser
seuser: user_u
- name: changed mapping- verify functionality and check_mode
@ -54,7 +54,7 @@
- false
- true
- false
community.general.selogin:
community.general.system.selogin:
login: seuser
state: absent
- name: delete mapping- verify functionality and check_mode