Skip to content

reecefowell/template-sf2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project-template

A Symfony project created on August 11, 2016, 8:31 pm.

Configuration

Copy dist file of required inventory file, for example ansible/inventories/*.ini.dist, without the .dist extension.

Make changes to the inventory file copy as necessary.

Running SSH setup on Remote Machine (by IP or inventory)

  • ansible-playbook playbook-ssh.yml -i '192.168.0.220,' --ask-sudo-pass --user=reece --ask-pass -vvvv -e 'remote_key=~/.ssh/scripts/ubuntu-14-vm/keys/id_rsa_ubuntu14'
  • ansible-playbook playbook-ssh.yml -i inventories/dev-remote.ini --ask-sudo-pass --user=reece --ask-pass -vvvv -e 'remote_key=~/.ssh/scripts/ubuntu-14-vm/keys/id_rsa_ubuntu14'

Running NFS setup on Remote Machine (by IP or inventory)

  • ansible-playbook playbook-nfs.yml -i '192.168.0.220,' --ask-sudo-pass --user=reece -vvvv
  • ansible-playbook playbook-nfs.yml -i inventories/dev-remote.ini --ask-sudo-pass --user=reece -vvvv

To mount in Finder.app go to Go -> Connect To Server and type in nfs://192.168.0.222:/home/reece/projects

Running LAMP stack deploy on Remote Machine

Run dev on remote machine over SSH when user preconfigured in inventory (by IP or inventory)

  • ansible-playbook playbook-dev.yml -i '192.168.0.220,' --ask-sudo-pass -vvvv
  • ansible-playbook playbook-dev.yml -i inventories/dev-remote.ini --ask-sudo-pass -vvvv

Run dev on remote machine over SSH with password (by IP or inventory)

  • ansible-playbook playbook-dev.yml -i '192.168.0.220,' --ask-sudo-pass --user=reece --ask-pass -vvvv
  • ansible-playbook playbook-dev.yml -i inventories/dev-remote.ini --ask-sudo-pass --user=reece --ask-pass -vvvv

Run dev on remote machine over SSH with public key (by IP or inventory)

  • ansible-playbook playbook-dev.yml -i '192.168.0.220,' --ask-sudo-pass --user=reece -vvvv
  • ansible-playbook playbook-dev.yml -i inventories/dev-remote.ini --ask-sudo-pass --user=reece -vvvv

Run dev on remote machine over ssh with unsafe settings (by IP or inventory)

  • ansible-playbook playbook-dev.yml -i '192.168.0.220,' --ask-sudo-pass --user=reece -vvvv -e 'unsafe=true'
  • ansible-playbook playbook-dev.yml -i inventories/dev-remote.ini --ask-sudo-pass --user=reece -vvvv -e 'unsafe=true'

Run dev on local machine (by IP or inventory)

  • ansible-playbook playbook-dev.yml -i '192.168.0.220,' --connection=local --ask-sudo-pass --user=reece -vvvv -e 'unsafe=true'
  • ansible-playbook playbook-dev.yml -i inventories/dev-local.ini --connection=local --ask-sudo-pass -vvvv -e 'unsafe=true'
  • ansible-playbook playbook-dev.yml -i '192.168.0.220,' --ask-sudo-pass --user=reece -vvvv -e 'unsafe=true'
  • ansible-playbook playbook-dev.yml -i inventories/dev-remote.ini --ask-sudo-pass --user=reece -vvvv -e 'unsafe=true'

Sources

NFS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published