Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
user avatar
fred authored
cd408d19
History

forga Ansible base tasks

💡 Idea

Get info and set basic config for Debian and Ubuntu distrib, using Gnome, Mate or no desktop environment.

Suitable for server and workstation.

✨ Features

task   purpose
apache 🚧 WIP: Install Apache2 HTTP server
apt.yml Install generic packages
become_user_cfg.yml Set sudo without password for become_user access
host_info.yml Return message with distribution full name & version
shutdown.yml Shutdown target in 5 min (not if host is in production group)
system_cfg Configure root, firewall, NTP, LDP & {{ my_users }} shell
user_cfg Configure {{ my_user }}
whoami.yml Return message with ansible_user & become_user (sudo method)

🚀 Quickstart

  1. Setup your inventory file from inventory.sample :
    • make inventory_generation
  2. Run host_info playbook to <group_foo> & <group_bar> :
    • ansible-playbook tasks/host_info.yml -i inventory -e host_list=<group_foo>:<group_bar>