Method: Ansible::Ruby::Modules::Lineinfile#line

Defined in:
lib/ansible/ruby/modules/generated/files/lineinfile.rb

#lineString?

Returns Required for C(state=present). The line to insert/replace into the file. If C(backrefs) is set, may contain backreferences that will get expanded with the C(regexp) capture groups if the regexp matches.

Returns:

  • (String, nil)

    Required for C(state=present). The line to insert/replace into the file. If C(backrefs) is set, may contain backreferences that will get expanded with the C(regexp) capture groups if the regexp matches.



25
# File 'lib/ansible/ruby/modules/generated/files/lineinfile.rb', line 25

attribute :line