1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Find a file
Dag Wieers 1e3dcfce4b Add option create= to lineinfile module
We use the lineinfile module to modify configuration files of a proprietary application. This application reads configuration options from files, but does not require those files to exist (if the default options are fine). However this application may modify the configuration file at will, so we cannot copy or template those files. And after a silent install the configuration may not exist (depending on the response file).

Whatever the case, during deployment we need to make sure some configuration options are set after the installation.

So the cleanest way to handle this situation is to allow the lineinfile module to create the file if it is missing (and this is the expected behavior). When I proposed this behavior, @sergevanginderachter needed the same functionality and was now working around it as well.
2012-10-30 17:57:15 +01:00
bin trivial --syntax-check option to ansible to just do the yaml validation 2012-10-15 17:48:25 -04:00
docs/man Release version bump for 0.9 (development branch) 2012-10-19 21:01:57 -04:00
docsite Update 'who uses' page 2012-10-27 18:10:24 -04:00
examples Add note about when you still have to use only_if 2012-10-27 18:22:16 -04:00
hacking DOCUMENTATION: LaTeX template is back 2012-10-24 19:42:52 +02:00
lib/ansible Merge pull request #1477 from skvidal/devel 2012-10-29 16:02:26 -07:00
library Add option create= to lineinfile module 2012-10-30 17:57:15 +01:00
packaging Release version bump for 0.9 (development branch) 2012-10-19 21:01:57 -04:00
plugins Allowing the EC2 inventory script to gracefully handle AWS API issues 2012-10-22 14:08:30 -07:00
test Make group_vars and host_vars available to usr/bin/ansible, and make vars_plugins exist 2012-10-26 19:55:59 -04:00
.gitignore Fix documentation consistency in .gitignore 2012-10-12 17:37:30 -04:00
CHANGELOG.md update changelog 2012-10-25 23:05:31 -04:00
CONTRIBUTING.md Add a bit more info about tests to CONTRIBUTING 2012-10-21 07:15:30 -04:00
COPYING license file should be in source tree 2012-03-15 20:24:22 -04:00
Makefile Put generated manpages back in correct directory 2012-10-10 20:09:40 -04:00
MANIFEST.in Add some docs/examples 2012-08-14 13:05:44 -04:00
README.md Update website link 2012-09-24 21:56:37 -04:00
RELEASES.txt Adds release date for Cathedral 2012-10-20 17:21:10 -07:00
setup.py Fixup setup.py path 2012-10-26 20:20:02 -04:00
VERSION Release version bump for 0.9 (development branch) 2012-10-19 21:01:57 -04:00

Ansible

Ansible is a radically simple configuration-management, deployment, task-execution, and multinode orchestration framework.

Read the documentation and more at http://ansible.cc

Design Principles

  • Dead simple setup
  • Super fast & parallel by default
  • No server or client daemons; use existing SSHd
  • No additional software required on client boxes
  • Modules can be written in ANY language
  • Awesome API for creating very powerful distributed scripts
  • Be usable as non-root
  • The easiest config management system to use, ever.

Get Involved

Branch Info

  • Releases are named after Van Halen songs.
  • The devel branch corresponds to the release actively under development.
  • Various release-X.Y branches exist for previous releases
  • We'd love to have your contributions, read "CONTRIBUTING.md" for process notes.

Author

Michael DeHaan -- michael.dehaan@gmail.com

http://michaeldehaan.net