ovh.yml 590 B

123456789101112131415
  1. - name: Install kernel configuration for OVH dedicated servers (proc)
  2. action: template src=kernel/sysctl.d/${item}.j2 dest=/etc/sysctl.d/${item} owner=root group=root mode=0644
  3. with_items:
  4. - 01-ovh-network.conf
  5. notify:
  6. - Apply kernel configuration (proc)
  7. when_boolean: ${with_ovh}
  8. - name: Install kernel configuration for OVH dedicated servers (sys)
  9. action: template src=kernel/sysfs.d/${item}.j2 dest=/etc/sysfs.d/${item} owner=root group=root mode=0644
  10. with_items:
  11. - 01-ovh-network.conf
  12. notify:
  13. - Refresh sysfs configuration
  14. when_boolean: ${with_ovh}