Skip to content

Instantly share code, notes, and snippets.

@sgargan
Created April 3, 2015 13:17
Show Gist options
  • Save sgargan/860b14e92c7459ed6bc9 to your computer and use it in GitHub Desktop.
Save sgargan/860b14e92c7459ed6bc9 to your computer and use it in GitHub Desktop.
Multiline task line in file
- name: change cgi path
lineinfile:
dest: /usr/local/nagios/share/config.inc.php
line: "$cfg['cgi_base_url']='/cgi-bin';"
regexp: (cgi_base_url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment