AutolabJS/AutolabJS

View on GitHub
deploy/plays/postinstall.yml

Summary

Maintainability
Test Coverage
- hosts: machines
  become: yes
  tasks:
    - name: Install crontab on all the machines running AutolabJS components
      cron:
        name: "autolabjs-restart"
        job: "bash /opt/autolabjs/deploy/autolabjs-restart.sh"
        state: present
        minute: "*"
        hour: "*"
        day: "*"
        weekday: "*"
        month: "*"
        user: root
        cron_file: "autolabjs"

    - name: Set firewall policies
      import_tasks: tasks/ufwset.yml