Adjust YAML files (#10233)

Adjust YAML files.
This commit is contained in:
Felix Fontein 2025-06-15 09:13:16 +02:00 committed by GitHub
commit eaa5e07b28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
247 changed files with 7318 additions and 7375 deletions

View file

@ -4,21 +4,21 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- block: &prepare
- name: Create the final file
ansible.builtin.copy:
content: |
[main]
foo=BAR
dest: "{{ remote_tmp_dir }}/my_original_file.ini"
- name: Clean up symlink.ini
ansible.builtin.file:
path: "{{ remote_tmp_dir }}/symlink.ini"
state: absent
- name: Create a symbolic link
ansible.builtin.file:
src: my_original_file.ini
dest: "{{ remote_tmp_dir }}/symlink.ini"
state: link
- name: Create the final file
ansible.builtin.copy:
content: |
[main]
foo=BAR
dest: "{{ remote_tmp_dir }}/my_original_file.ini"
- name: Clean up symlink.ini
ansible.builtin.file:
path: "{{ remote_tmp_dir }}/symlink.ini"
state: absent
- name: Create a symbolic link
ansible.builtin.file:
src: my_original_file.ini
dest: "{{ remote_tmp_dir }}/symlink.ini"
state: link
- name: Set the proxy key on the symlink which will be converted as a file
community.general.ini_file:

View file

@ -68,7 +68,7 @@
- name: test-modify_inactive_option 2 - read content from output file
slurp:
src: "{{ output_file }}"
src: "{{ output_file }}"
register: output_content
- name: test-modify_inactive_option 2 - set expected content and get current ini file content
@ -144,7 +144,7 @@
- name: test-modify_inactive_option 4 - read content from output file
slurp:
src: "{{ output_file }}"
src: "{{ output_file }}"
register: output_content
- name: test-modify_inactive_option 4 - set expected content and get current ini file content