How to install dependent role on specific host with ansible -


i have following role/meta/main.yml script:

--- dependencies:   - role: common   - role: nginx   - role: postgres   - role: my_db 

and need install my_db role on specific host, lets 1.2.3.4, example.

if want install 1 roll, should create playbook applies role host.

- hosts:     - 1.2.3.4   roles:     - my_db 

Comments

Popular posts from this blog

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -