summaryrefslogtreecommitdiff
path: root/examples/block-in-file.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/block-in-file.yaml')
-rw-r--r--examples/block-in-file.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/block-in-file.yaml b/examples/block-in-file.yaml
new file mode 100644
index 0000000..2cdd7eb
--- /dev/null
+++ b/examples/block-in-file.yaml
@@ -0,0 +1,10 @@
+- name: Añadir bloque de configuración a NGINX
+ module: blockinfile
+ args:
+ path: /etc/nginx/nginx.conf
+ block: |
+ server_tokens off;
+ keepalive_timeout 65;
+ marker: NGINX_CONF
+ backup: true
+ become: true