---
- hosts: demo
remote_user: jenkins
become: yes
become_method: sudo
roles:
- role1
- role3
- role4
- role5
- role6
- role7
ansible-playbook -i hosts site.yml
---
- hosts: demo
remote_user: jenkins
become: yes
roles:
- '{{ ROLE }}'
ansible-playbook -i hosts site.yml -e "ROLE=role1"
---
- hosts: '{{ TARGETIP }}'
remote_user: jenkins
become: yes
roles:
- '{{ ROLE }}'
ansible-playbook -i hosts site.yml -e "ROLE=role1" -e "TARGETIP=demo"