Skip to content

Ansible repo for Labitat servers fagprojekt

Notifications You must be signed in to change notification settings

OliviaWenya/labitat-ansible

 
 

Repository files navigation

Labitat Ansible

Ansible playbooks for space infrastructure

Running ansible

ansible-playbook <playbook>.yml -D [-t <tag>[,<tag2>,..]] [-C]
  • <playbook>.yml: the playbook you wish to run
  • -D: prints the changes made, fx. the difference between old and updated files
  • -t <tag>: limit the run to certain tags, tasks are usually tagged with their name
  • -C: don't make any changes, just show what would be changed

example:

ansible-playbook jumbotron.yml -D -t irssi -C

This will log into the jumbotron server and show how the irssi configuration would be updated by your local changes in your ansible repo.

ansible-playbook jumbotron.yml -D -t irssi

This will actually do the changes, but again limit itself to just the tasks that are tagged irssi.

About

Ansible repo for Labitat servers fagprojekt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 71.0%
  • Shell 24.9%
  • Python 4.1%