mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-21 13:31:43 -07:00
Initial commit
This commit is contained in:
commit
aebc1b03fd
4861 changed files with 812621 additions and 0 deletions
11
tests/integration/targets/alternatives/tasks/setup_test.yml
Normal file
11
tests/integration/targets/alternatives/tasks/setup_test.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
- template:
|
||||
src: dummy_alternative
|
||||
dest: '{{ alternatives_dir }}/dummy'
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
when: with_alternatives or ansible_os_family != 'RedHat'
|
||||
- file:
|
||||
path: '{{ alternatives_dir }}/dummy'
|
||||
state: absent
|
||||
when: not with_alternatives and ansible_os_family == 'RedHat'
|
Loading…
Add table
Add a link
Reference in a new issue