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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -