summaryrefslogtreecommitdiff
path: root/examples/line-in-file.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/line-in-file.yaml')
-rw-r--r--examples/line-in-file.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/line-in-file.yaml b/examples/line-in-file.yaml
new file mode 100644
index 0000000..3a874ba
--- /dev/null
+++ b/examples/line-in-file.yaml
@@ -0,0 +1,8 @@
+- name: Asegurar configuración de NGINX
+ module: lineinfile
+ args:
+ path: /etc/nginx/nginx.conf
+ line: 'client_max_body_size 20M;'
+ regexp: '^client_max_body_size'
+ backup: true
+ become: true