Firman's Ansible repository
Find a file
2026-06-05 22:24:09 +07:00
files feat(playbooks): add Podman setup playbook 2026-05-24 23:32:51 +07:00
inventory chore(inventory): change miix320 local IP address 2026-06-02 15:43:26 +07:00
playbooks feat(playbooks): add minimal wayland wm setup for almalinux on miix320 2026-06-04 16:53:46 +07:00
roles feat(roles): add NTP setup 2026-06-05 22:24:09 +07:00
ansible.cfg feat: initial ansible repo setup with playbooks to setup ansible user 2026-05-16 21:36:19 +07:00
LICENSE feat: initial ansible repo setup with playbooks to setup ansible user 2026-05-16 21:36:19 +07:00
README.md chore: rename playbooks and a role to be more clear specific 2026-05-23 16:34:37 +07:00

M.R. Firmansyah's Ansible Repository

Setup ansible user

From firman user on workspace (control node), setup ansible user, replace vault-password with actual Ansible vault password:

$  echo 'vault-password' > ~/.ansible/vault_pass
$ ansible-playbook -K -i inventory playbooks/00_setup_ansible_user_control_node.yml

Creating firman user on managed node (skip if user already exist):

# useradd -mc 'M.R. Firmansyah' -G wheel firman

Back on workspace with firman user. Copying public key for firman user to managed node to be used by Ansible, for example host are vm1 (see inventory) with IP adress 192.168.122.58, then setup ansible user in managed node:

$ ssh-copy-id 192.168.122.58
$ ansible-playbook -K -i inventory -l vm1 playbooks/00_setup_ansible_user_managed_nodes.yml