cd ~
sudo dnf -y install ansible git jq
git clone --recursive https://github.com/HamWAN/infrastructure-configs.git
cd infrastructure-configs
cp .ansible.cfg ~
ansible-galaxy install -r roles/requirements.yml
ansible --list-hosts all
ansible --list-hosts os_linux
ansible --list-hosts 'os_linux:&owner_HamWAN'
ansible --list-hosts 'os_linux:&owner_HamWAN:!type_container'
Now that you know the basics of group matching, you can surf the available inventory:
~/infrastructure-configs/inventories/psdr/hosts.sh | jq | less
More details about selecting inventory subsets here.
ansible-playbook --limit <server> psdr.yml
ansible-playbook psdr.yml
First, run the Operator Workstation Setup, then:
sudo dnf -y install vagrant-libvirt rubygem-rexml @virtualization
sudo systemctl enable --now libvirtd
sudo usermod --append --groups libvirt `whoami`
vagrant up --no-parallel