Files @ 9fa438ee34c0
Branch filter:

Location: majic-ansible-roles/roles/common/handlers/main.yml - annotation

branko
MAR-5: Added another example to role reference for running PHP websites. Allow duplicates of roles php_website and wsgi_website. Use parameter in handler for restarting WSGI website (to have them website-specific). Updated test site to force handler execution in order to avoid being in undefined state.
---

- name: Update PAM configuration
  command: /usr/sbin/pam-auth-update --package

- name: Restart SSH
  service: name=ssh state=restarted

- name: Update CA certificate cache
  command: /usr/sbin/update-ca-certificates --fresh

- name: Restart ferm
  service: name=ferm state=restarted

- name: Reload systemd
  command: systemctl daemon-reload