# \#ini

**URL:** https://forum.ansible.com/tag/ini/345.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [Expend the text in the end of a special line in a file](https://forum.ansible.com/t/expend-the-text-in-the-end-of-a-special-line-in-a-file/39219)

<div class="topic-metadata">

**Author:** [@yx84](https://forum.ansible.com/u/yx84)\
**Replies:** 18\
**Last updated:** [December 18, 2024, 7:58pm UTC](https://forum.ansible.com/t/expend-the-text-in-the-end-of-a-special-line-in-a-file/39219 "2024-12-18T19:58:42Z")

</div>

Hi Folks, I am new here, can someone give me a hand to show me how to add the text/items to the special place in the a file? Here is the line what I have from /etc/default/grub now: ////////////////// GRUB\_CMDLINE\_LI…

---

## [Template with to\_ini in a loop: 'str' object has no attribute 'items'](https://forum.ansible.com/t/template-with-to-ini-in-a-loop-str-object-has-no-attribute-items/11007)

<div class="topic-metadata">

**Author:** [@daks](https://forum.ansible.com/u/daks)\
**Replies:** 14\
**Last updated:** [November 25, 2024, 4:49pm UTC](https://forum.ansible.com/t/template-with-to-ini-in-a-loop-str-object-has-no-attribute-items/11007 "2024-11-25T16:49:44Z")

</div>

I’m trying to generate some files using ansible.builtin.template and I would like to use the community.general.to\_ini jinja filter. The problem is that I have an error The error was: ansible.errors.AnsibleFilterError: …

---

## [Best practice for managing a large configuration file in a role](https://forum.ansible.com/t/best-practice-for-managing-a-large-configuration-file-in-a-role/4132)

<div class="topic-metadata">

**Author:** [@wzzrd](https://forum.ansible.com/u/wzzrd)\
**Replies:** 1\
**Last updated:** [February 29, 2024, 12:52pm UTC](https://forum.ansible.com/t/best-practice-for-managing-a-large-configuration-file-in-a-role/4132 "2024-02-29T12:52:10Z")

</div>

I’m a bit of a hobbyist, working on a collection to deploy Gitea and related tools. One thing I struggle with, is the astoundingly large set of configuration options for Gitea. It’s 600+ options long in a 2500+ line con…
