From ae5509eba7c1e58e67f064c056f9e81338dbd23b Mon Sep 17 00:00:00 2001 From: Larry Smith Jr Date: Thu, 1 Nov 2018 02:01:38 -0400 Subject: [PATCH] Added Fedora 29 support --- Fedora/29/server/.gitignore | 1 + Fedora/29/server/Vagrantfile | 1 + Fedora/29/server/ansible.cfg | 1 + Fedora/29/server/bootstrap.yml | 1 + Fedora/29/server/cleanup.bat | 1 + Fedora/29/server/hosts | 1 + Fedora/29/server/nodes.yml | 29 +++++++++++++++++++++++++++++ Fedora/29/server/playbook.yml | 1 + Fedora/29/server/prep.sh | 16 ++++++++++++++++ Fedora/29/server/prep_host_vars.yml | 1 + Fedora/29/server/requirements.yml | 1 + Fedora/29/server/scripts | 1 + Fedora/29/server/unit-test.sh | 1 + 13 files changed, 56 insertions(+) create mode 120000 Fedora/29/server/.gitignore create mode 120000 Fedora/29/server/Vagrantfile create mode 120000 Fedora/29/server/ansible.cfg create mode 120000 Fedora/29/server/bootstrap.yml create mode 120000 Fedora/29/server/cleanup.bat create mode 120000 Fedora/29/server/hosts create mode 100644 Fedora/29/server/nodes.yml create mode 120000 Fedora/29/server/playbook.yml create mode 100755 Fedora/29/server/prep.sh create mode 120000 Fedora/29/server/prep_host_vars.yml create mode 120000 Fedora/29/server/requirements.yml create mode 120000 Fedora/29/server/scripts create mode 120000 Fedora/29/server/unit-test.sh diff --git a/Fedora/29/server/.gitignore b/Fedora/29/server/.gitignore new file mode 120000 index 0000000..00e0389 --- /dev/null +++ b/Fedora/29/server/.gitignore @@ -0,0 +1 @@ +../../../.gitignore \ No newline at end of file diff --git a/Fedora/29/server/Vagrantfile b/Fedora/29/server/Vagrantfile new file mode 120000 index 0000000..706a5bb --- /dev/null +++ b/Fedora/29/server/Vagrantfile @@ -0,0 +1 @@ +../../../Vagrantfile \ No newline at end of file diff --git a/Fedora/29/server/ansible.cfg b/Fedora/29/server/ansible.cfg new file mode 120000 index 0000000..59c19a0 --- /dev/null +++ b/Fedora/29/server/ansible.cfg @@ -0,0 +1 @@ +../../../ansible.cfg \ No newline at end of file diff --git a/Fedora/29/server/bootstrap.yml b/Fedora/29/server/bootstrap.yml new file mode 120000 index 0000000..ec2d32a --- /dev/null +++ b/Fedora/29/server/bootstrap.yml @@ -0,0 +1 @@ +../../../bootstrap.yml \ No newline at end of file diff --git a/Fedora/29/server/cleanup.bat b/Fedora/29/server/cleanup.bat new file mode 120000 index 0000000..88b3fe4 --- /dev/null +++ b/Fedora/29/server/cleanup.bat @@ -0,0 +1 @@ +../../../cleanup.bat \ No newline at end of file diff --git a/Fedora/29/server/hosts b/Fedora/29/server/hosts new file mode 120000 index 0000000..7f6603b --- /dev/null +++ b/Fedora/29/server/hosts @@ -0,0 +1 @@ +.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory \ No newline at end of file diff --git a/Fedora/29/server/nodes.yml b/Fedora/29/server/nodes.yml new file mode 100644 index 0000000..986e40c --- /dev/null +++ b/Fedora/29/server/nodes.yml @@ -0,0 +1,29 @@ +--- +- name: node0 + ansible_groups: + - test_nodes + box: mrlesmithjr/fedora-29 + desktop: false + disks: [] + # - size: 10 + # controller: "SATA Controller" + # - size: 10 + # controller: "SATA Controller" + interfaces: [] + # - ip: 192.168.250.10 + # auto_config: true + # method: static + # - ip: 192.168.1.10 + # auto_config: false + # method: static + # network_name: network-1 + linked_clone: true + mem: 512 + provision: false + vcpu: 1 + port_forwards: [] + # - guest: 80 + # host: 8080 + # - guest: 443 + # host: 4433 + windows: false diff --git a/Fedora/29/server/playbook.yml b/Fedora/29/server/playbook.yml new file mode 120000 index 0000000..1361d9d --- /dev/null +++ b/Fedora/29/server/playbook.yml @@ -0,0 +1 @@ +../../../playbook.yml \ No newline at end of file diff --git a/Fedora/29/server/prep.sh b/Fedora/29/server/prep.sh new file mode 100755 index 0000000..2931983 --- /dev/null +++ b/Fedora/29/server/prep.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +LINKS=(".gitignore" "ansible.cfg" "scripts" \ + "bootstrap.yml" "cleanup.bat" "playbook.yml" \ +"requirements.yml" "unit-test.sh" "Vagrantfile" "prep_host_vars.yml") +TOP_FOLDER_PATH="../../.." +for i in "${LINKS[@]}" +do + if [ -f "./$i" ]; then + rm "./$i" + fi + if [ ! -L "./$i" ]; then + ln -s $TOP_FOLDER_PATH/$i . + fi +done +ln -sf .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory hosts diff --git a/Fedora/29/server/prep_host_vars.yml b/Fedora/29/server/prep_host_vars.yml new file mode 120000 index 0000000..62cd705 --- /dev/null +++ b/Fedora/29/server/prep_host_vars.yml @@ -0,0 +1 @@ +../../../prep_host_vars.yml \ No newline at end of file diff --git a/Fedora/29/server/requirements.yml b/Fedora/29/server/requirements.yml new file mode 120000 index 0000000..63da1f1 --- /dev/null +++ b/Fedora/29/server/requirements.yml @@ -0,0 +1 @@ +../../../requirements.yml \ No newline at end of file diff --git a/Fedora/29/server/scripts b/Fedora/29/server/scripts new file mode 120000 index 0000000..bbaa944 --- /dev/null +++ b/Fedora/29/server/scripts @@ -0,0 +1 @@ +../../../scripts \ No newline at end of file diff --git a/Fedora/29/server/unit-test.sh b/Fedora/29/server/unit-test.sh new file mode 120000 index 0000000..bbc7191 --- /dev/null +++ b/Fedora/29/server/unit-test.sh @@ -0,0 +1 @@ +../../../unit-test.sh \ No newline at end of file