Achieve a working install on my VMs

This commit is contained in:
Alex 2020-01-18 15:39:34 +01:00
parent f844c9454f
commit 3174179100
2 changed files with 7 additions and 0 deletions

5
ansible/lxvm Normal file
View file

@ -0,0 +1,5 @@
[cluster_nodes]
#ubuntu1 ansible_host=192.168.42.10
debian1 ansible_host=192.168.42.20 ansible_user=root public_ip=192.168.42.20 private_ip=192.168.42.20 interface=enp1s0 dns_server=208.67.222.222
debian2 ansible_host=192.168.42.21 ansible_user=root public_ip=192.168.42.21 private_ip=192.168.42.21 interface=enp1s0 dns_server=208.67.222.222
debian3 ansible_host=192.168.42.22 ansible_user=root public_ip=192.168.42.22 private_ip=192.168.42.22 interface=enp1s0 dns_server=208.67.222.222

View file

@ -3,6 +3,7 @@
that: that:
- "ansible_architecture == 'aarch64' or ansible_architecture == 'armv7l' or ansible_architecture == 'x86_64'" - "ansible_architecture == 'aarch64' or ansible_architecture == 'armv7l' or ansible_architecture == 'x86_64'"
- "ansible_os_family == 'Debian'" - "ansible_os_family == 'Debian'"
- "ansible_distribution_version == '10'"
- name: "Upgrade system" - name: "Upgrade system"
apt: apt:
@ -15,6 +16,7 @@
- name: "Install base tools" - name: "Install base tools"
apt: apt:
name: name:
- sudo
- vim - vim
- htop - htop
- screen - screen