Skip to content

Basic Install and configuration of my preferred environment for ArchLinux

Notifications You must be signed in to change notification settings

ptsiampas/archlinux-petert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

archlinux-petert

Basic Install and configuration of my preferred environment for ArchLinux, this was heavily inspired and stolen from TechDufus's version.

Pre-requist

Make sure you have the vault secret in place

Place the file ~/.ansible-vault/vault.secret in the vault folder in the home directory, before you run the playbook.

vim ~/.ansible-vault/vault.secret

Install

Notes

This playbook uses a custom script in the bin/dotfiles. This script is added to your $PATH after installation and can be run multiple times.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/ptsiampas/archlinux-petert/main/bin/dotfiles)"

If you want to run only a specific role, you can specify the following bash command:

curl -fsSL  https://raw.githubusercontent.com/ptsiampas/archlinux-petert/main/bin/dotfiles | bash -s -- --tags comma,seperated,tags

Update

This repository is continuously updated with new features and settings which become available to you when updating.

To update your environment run the dotfiles command in your shell:

dotfiles

Encrypted Vault

How to encrypt a file with Ansible Vault.

For an advanced version using looped values, look at the ssh main.yml and all.yml within this repo.

cat myfile.conf | ansible-vault encrypt_string --vault-password-file $HOME/.ansible-vault/vault.secret --stdin-name "myfile.conf"

Copy and paste the output of the above command into all.yml.

How to use within a role.

---
- name: "Decrypt and write file"
  copy:
    dest: "{{ ansible_user_dir }}/.config_location/myfile.conf"
    content: "{{ myfile.conf }}"
    mode: "0644"
  no_log: true # don't log the content

About

Basic Install and configuration of my preferred environment for ArchLinux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published