Skip to content

wickes1/ansible-manjaro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manjaro Linux Ansible Provision

This repo is deprecated as my configuration repo. And I have migrated to a simple shell script approach. GitHub - wickes1/Dotfiles

Why I don't continue this approach?

My initial thought is to utilize Ansible for my any devices, any new OS installation, and any new VMs so that I can have a consistent environment. But I found that it's too much overhead for my personal use. You won't have a lot of new devices to manage. What's more, the configuration was kept deprecating, that adding more overhead to maintain the configuration.

However, I mostly used Ansible as my dotfiles manager. So what's important is not the app installation, but the dotfiles. (For personal usage) So I migrate to a simple shell script approach. GitHub - wickes1/Dotfiles

Contents

Usage

Prerequisites

# install ansible aur
ansible-galaxy collection install kewlfft.aur
# refresh known_hosts
ssh-keygen -R "192.168.56.2"

List tags

ansible-playbook playbook.yml --list-tags

Production

ansible-playbook playbook.yml -l localhost --extra-vars="username=<username>" --ask-become-pass

Testbuild Vagrant

  • vagrant setup
# load module
sudo /sbin/rcvboxdrv
vagrant up --provider virtualbox --provision
  • without
ansible-playbook playbook.yml -l testbuild --extra-vars="username=vagrant" --ask-become-pass
  • with debugging
ansible-playbook -vvvv playbook.yml -l testbuild --extra-vars="username=vagrant" --ask-become-pass --tags base

Testbuild VM

ansible-playbook playbook.yml -l testbuild_vm --extra-vars="username=manjaro" --ask-pass --ask-become-pass --tags base

Playbook Roles

Roles supported:

Roles Description
base Utils that exists under any circumstances
users Linux users and groups
development Development environment and tools
apps Any other applications

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published