Skip to content

Ansible playbook for rapid configuration of my development environment on Fedora Linux

License

Notifications You must be signed in to change notification settings

curtisbelt/my-workstation-playbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Workstation Playbook

Summary

(TODO)

Usage (Local)

ansible-playbook --ask-become-pass local.yml

Usage (Remote)

https://linuxhint.com/ssh_local_machine_virtual_kvm_centos/

Prepare remote machine:

sudo dnf install -y openssh-server
sudo systemctl enable --now sshd
# Get IP
hostname -I

/etc/ansible/hosts

[fedora]
192.168.122.13

[fedora:vars]
# Technically, on Fedora 35, python is symlinked to python3 - but setting this will avoid "[DEPRECATION WARNING]: Distribution fedora 35 on host 192.168.122.13 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases.".
ansible_python_interpreter=/usr/bin/python3

Local Machine

ansible-playbook local.yml --ask-pass --ask-become-pass

TODO:

  • How to use vault for secrets
  • What's the best way to handle updating configuration files?

About

Ansible playbook for rapid configuration of my development environment on Fedora Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published