Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 383 Bytes
# Create dynamic inventory to avoid to create a dedicated hosts file in the git directory
- hosts: localhost
tasks:
- add_host: name=ansible-case1
# Test latest ansible version
- hosts: ansible-case1
remote_user: kitchen
sudo: yes
roles:
# Name of your directory containing the role. In case of github, it should be your github repository name
- role: role_test