forked from LibreSchool/server-config
Managed mirroring with NFS with additional mirror.yml file.
This commit is contained in:
parent
bb1b7d9e08
commit
f5a74d8e3c
@ -1,4 +1,9 @@
|
||||
---
|
||||
- include: ubuntu-mirror.yml
|
||||
when: ansible_bios_version != "VirtualBox"
|
||||
when: not use_local_mirror|bool
|
||||
tags: ubuntu-mirror
|
||||
|
||||
- include: local-mirror.yml
|
||||
when: use_local_mirror|bool
|
||||
sudo: yes
|
||||
tags: local-mirror
|
||||
|
8
run.sh
8
run.sh
@ -2,11 +2,15 @@
|
||||
|
||||
echo "Please review ansible hosts settings."
|
||||
sleep 2
|
||||
vim hosts
|
||||
$EDITOR hosts
|
||||
|
||||
echo "Please review settings for domain/server settings."
|
||||
sleep 2
|
||||
vim domain.yml
|
||||
$EDITOR domain.yml
|
||||
|
||||
echo "Please review mirror settings from mirror.yml."
|
||||
sleep 2
|
||||
$EDITOR mirror.yml
|
||||
|
||||
# Configure the server machine using Ansible tasks.
|
||||
ansible-playbook init.yml --ask-pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user