summaryrefslogtreecommitdiff
path: root/examples/block-in-file.yaml
blob: 2cdd7eb227ed31ea0e0747f5d670aabafc7289ef (plain)
1
2
3
4
5
6
7
8
9
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