main.yml 309 B

12345678910
  1. ---
  2. # tasks file for sysctl
  3. - name: Install router specific sysctl config
  4. template: src=sysctl.conf.j2 dest=/etc/sysctl.d/supernode.conf
  5. register: supernode_sysctl_installed
  6. - name: Load sysctl variables
  7. when: supernode_sysctl_installed|changed
  8. shell: sysctl -p /etc/sysctl.d/supernode.conf || true