Public paste
Undefined
By: Guest | Date: Mar 13 2020 14:18 | Format: None | Expires: never | Size: 304 B | Hits: 464

  1. site.yml:
  2. ...
  3. - hosts: nomad-cluster
  4.   roles:
  5.     - brianshumate.nomad
  6.   tags: nomad-cluster
  7.   tasks:
  8.     - name: Start nomad service
  9.       service: name=nomad state=started enabled=yes
  10.  
  11.  
  12.  
  13. inventory.ini:
  14. [nomad-cluster]
  15. centos7-host nomad_node_role=both
  16. centos8-host nomad_node_role=client