mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +01:00
Use Extended FQCN for community.general
This commit is contained in:
parent
f929bfe66d
commit
bb291bef60
3 changed files with 11 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue