main.yml #1

  • //
  • guest/
  • russell_jackson/
  • ansible-sdp/
  • roles/
  • perforce-sdp-install/
  • handlers/
  • main.yml
  • View
  • Commits
  • Open Download .zip Download (488 B)
---
# handlers file for ansible-sdp
- name: "restart_sendmail"
  service:
    name: "sendmail"
    state: "restarted"

- name: "start_thp"
  command: "{{ item }}"
  with_items:
    - "systemctl start disable-thp"
    - "systemctl enable disable-thp"

- name: "restart_sysctl"
  command: "sysctl -p"
    
- name: "restart_networkd"
  command: "{{ item }}"
  with_items: 
    - "systemctl daemon-reload"
    - "systemctl restart systemd-networkd"
    - "systemctl restart systemd-resolved"
# Change User Description Committed
#1 32488 Russell C. Jackson (Rusty) Ansible scaffolding for the sdp - Needs work.