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') when: ansible_system in ('Linux')
- name: Format FS - name: Format FS
when: ansible_system in ('Linux') when: ansible_system in ('Linux')
community.general.filesystem: community.general.system.filesystem:
fstype: ext3 fstype: ext3
dev: /tmp/myfs.img dev: /tmp/myfs.img
- name: Mount the FS for the first time - name: Mount the FS for the first time

View file

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

View file

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