Added playbooks and scripts
- New mainweb, pxeboot, dns, aethermgmt playbooks
- Add netbox scripts
- pxeboot information from netbox
- full configuration for an edge node
- Update timesheets role
- Ignore files directory
Change-Id: Icfc9ce27b92837563ca01102b8a6793020f79b73
diff --git a/playbooks/aethermgmt-playbook.yml b/playbooks/aethermgmt-playbook.yml
new file mode 100644
index 0000000..597b5e4
--- /dev/null
+++ b/playbooks/aethermgmt-playbook.yml
@@ -0,0 +1,12 @@
+# Ansible playbook to configure an aether management nodes
+
+- name: Configure an aether management node
+ hosts: mgmt
+ become: true
+ roles:
+ - netprep
+ - nsd
+ - unbound
+ - dhcpd
+ - nginx
+ - onieboot
diff --git a/playbooks/dns-playbook.yml b/playbooks/dns-playbook.yml
new file mode 100644
index 0000000..33c4c9b
--- /dev/null
+++ b/playbooks/dns-playbook.yml
@@ -0,0 +1,8 @@
+---
+# Ansible playbook to configure a DNS server
+
+- name: Configure a dns server
+ hosts: dns
+ become: true
+ roles:
+ - nsd
diff --git a/playbooks/mainweb-playbook.yml b/playbooks/mainweb-playbook.yml
new file mode 100644
index 0000000..0c15504
--- /dev/null
+++ b/playbooks/mainweb-playbook.yml
@@ -0,0 +1,12 @@
+---
+# Ansible playbook to configure the ONF website
+
+- name: Configure the main ONF webserver
+ hosts: onfweb
+ become: true
+ roles:
+ - users
+ - mariadb
+ - acme
+ - nginx
+ - php
diff --git a/playbooks/pxeboot-playboot.yml b/playbooks/pxeboot-playboot.yml
new file mode 100644
index 0000000..3cbdae0
--- /dev/null
+++ b/playbooks/pxeboot-playboot.yml
@@ -0,0 +1,8 @@
+---
+# Ansible playbook to configure a iPXE pxeboot webserver
+
+- name: Configure pxeboot
+ hosts: static
+ become: true
+ roles:
+ - pxeboot
diff --git a/playbooks/timesheets-playbook.yml b/playbooks/timesheets-playbook.yml
index d119459..43fd34d 100644
--- a/playbooks/timesheets-playbook.yml
+++ b/playbooks/timesheets-playbook.yml
@@ -5,6 +5,7 @@
hosts: timesheets
become: true
roles:
+ - users
- acme
- nginx
- nodejs