Skip to content

Latest commit

 

History

History
107 lines (77 loc) · 2.53 KB

README.md

File metadata and controls

107 lines (77 loc) · 2.53 KB

Ansible Install Linux

This repository contains a list of packages for Fedora, Debian, and Ubuntu distributions. It only contains a long list of packages for some GNU/Linux distributions.

List

Debian 10

Packages Extra no Included

List of Repositories

Debian

  • Debian Official
  • DEB Multimedia
  • MariaDB
  • VirtualBox
  • Docker CE
  • Typora
  • VSCode
  • NodeJS
  • Yarn
  • Postgresql

Pre-Requisites

First we must manually execute the following commands on the computer where the installation will take place:

$ su -c "vim.tiny /etc/group"       # Add user name in sudo group: "sudo:x:27:user_name"
$ su -c "systemctl enable --now sshd.service"

Then we must copy a public SSH key on the computer where the installations will be executed:

$ ssh-copy-id -o PubkeyAuthentication=no -i ~/.ssh/demo-ssh.pub user_name@ip_address_or_localhost

This ansible poroject is for automatic install on post-installation for Debian Operating System.

Config Files and replace values

The project have three playbooks:

  • debian-base.yml
  • debian-desktop.yml
  • debian-security.yml

Versions

  • XFCE: 4.12.0
  • Debian: 10 Buster
  • Ansible: 2.9

Commands

First we are located on the route:

$ cd ansible-debian

Execution order:

  1. debian-base-repos.yml:
$ ansible-playbook debian-base.yml \
--ask-become-pass \
-i inventory/inventory.yml
  1. debian-desktop.yml:
$ ansible-playbook debian-desktop.yml \
--ask-become-pass \
-i inventory/inventory.yml \
-e "ansible_python_interpreter=/usr/bin/python3"
  1. debian-security.yml:
$ ansible-playbook debian-security.yml \
--ask-become-pass \
-i inventory/inventory.yml \
-e "ansible_python_interpreter=/usr/bin/python3"