Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

andreyrusanov/ansible-talk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Start project

# run
vagrant up
# provision
vagrant provision

Visit http://192.168.100.100/

Ansible resources

Useful commands

# Install from roles
ansible-galaxy install -r requirements.yml -p roles
# Install role
ansible-galaxy install geerlingguy.nginx
# Check syntax
ansible-playbook playbook.yml --syntax-check
# Run playbook
ansible-playbook -i /path/to/inventory playbook.yml -u ssh_user --key-file=/path/to/ssh-key
# Run playbook on listed hosts
ansible-playbook -i "localhost," playbook.yml
# Run ad-hoc command on localhost
ansible all -i "localhost," -c local -m shell -a 'echo hello world'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published