GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tsheninfosoft/ansible-project

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
inventory
inventory
 
 
roles/httpd
roles/httpd
 
 
README.md
README.md
 
 
ansible.cfg
ansible.cfg
 
 
db.yml
db.yml
 
 
ping.yml
ping.yml
 
 
reboot.yml
reboot.yml
 
 
site.yml
site.yml
 
 

Repository files navigation

ansible-project

sysctl -w net.ipv6.conf.all.disable_ipv6=1

sysctl -w net.ipv6.conf.default.disable_ipv6=1

generate ssh-keys if you don't have

$ ssh-keygen

copy ssh key to target machine for passwordless login

ssh-copy-id -i .ssh/id_rsa.pub student@machineip

$ git clone https://github.com/kapilsthakkar25/ansible-project

$ cd ansible-project

$ ansible-playbook -i inventory/hosts.ini ping.yml

$ ansible-playbook -i inventory/hosts.ini site.yml

$ ansible-playbook -l lab1 -i inventory/hosts.ini site.yml -e "state=absent"

$ ansible-playbook -l lab1 -i inventory/hosts.ini site.yml -e "state=present"

$ ansible-playbook -l lab1 -i inventory/hosts.ini site.yml -e "myrepo=https://github.com/kapilsthakkar25/space-shooter"

$ ansible-playbook -l lab1 -i inventory/hosts.ini site.yml -e "myrepo=https://github.com/kapilsthakkar25/webapp-repo"

to download role on your current directory

$ ansible-galaxy install --roles-path ./roles/ geerlingguy.nginx

Adhoc command ansible

$ ansible lab1 -i inventory/hosts.ini -m setup

$ ansible lab1 -i inventory/hosts.ini -m ping

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.