Technotes

Technotes for future me

Ansible with items key and value

Ansible with items key and value

- name: Tuning sysctl
  sysctl:
    name: "{{ item.key }}"
    value: "{{ item.value }}"
    state: present
  with_items:
    - { key: net.core.somaxconn, value: 65536 }
Last updated on 31 Jan 2021
Published on 11 Dec 2019
Edit on GitHub