Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

multiple hosts in same role

---
- hosts: groupa
  roles:
    - oracle

- hosts: groupb
  roles:
    - apache

- hosts: local
  connection: local
  tasks:
    - { debug: { msg: "Tasks to run locally" } }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiple #hosts #role
ADD COMMENT
Topic
Name
4+6 =