add msp
This commit is contained in:
parent
ec76d50c7b
commit
004e149fe5
@ -51,6 +51,21 @@ all:
|
||||
ipv4_address: 172.25.6.104
|
||||
ipv6_address: 2602:817:3000:c206::104
|
||||
|
||||
# Minneapolis hosts
|
||||
host100:
|
||||
ansible_user: root
|
||||
ansible_password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
64333066626337663830396362306565393761663336366663333539356336663336633066373864
|
||||
3036336138666362623436353536333837393733336138610a333863633461316664343165333134
|
||||
38336636306639363834323130613934626236393935376130643435393437636531346464396334
|
||||
3161623861343030370a376664646364626233653131613436343932623033653539386537313436
|
||||
31333934373930343531653363373762323664323033353036666336393039383636623963393931
|
||||
3938313864666137663230326337323235323035383637343164
|
||||
ansible_host: host100.msp001.fritzlab.net
|
||||
ipv4_address: 172.25.10.100
|
||||
ipv6_address: 2604:2d80:6803:9c00::100
|
||||
|
||||
# Intel NUC hosts
|
||||
host201:
|
||||
ansible_user: root
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Configure Network and DNS settings on Proxmox Host
|
||||
hosts:
|
||||
- host20*
|
||||
- host100
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
@ -116,19 +116,14 @@
|
||||
- curl
|
||||
- iperf3
|
||||
|
||||
- name: Update all host/vm packages
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- name: Ensure ISO mount point directory exists
|
||||
- name: Ensure ISO mount point directory exists in sjc001
|
||||
when: "'sjc001' in inventory_hostname"
|
||||
ansible.builtin.file:
|
||||
path: /mnt/iso-images/template/iso
|
||||
state: directory
|
||||
|
||||
- name: Insert/update NFS mount block in /etc/fstab
|
||||
- name: Insert/update NFS mount block in /etc/fstab in sjc001
|
||||
when: "'sjc001' in inventory_hostname"
|
||||
notify: reload fstab
|
||||
ansible.builtin.blockinfile:
|
||||
path: /etc/fstab
|
||||
@ -137,6 +132,12 @@
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK for NFS mounts"
|
||||
backup: yes
|
||||
|
||||
- name: Update all host/vm packages
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
handlers:
|
||||
- name: restart networking
|
||||
|
Loading…
Reference in New Issue
Block a user