add rudimentary web interface for user management
authorJustin Wind <j.wind@partner.samsung.com>
Mon, 23 Oct 2017 18:02:43 +0000 (11:02 -0700)
committerJustin Wind <j.wind@partner.samsung.com>
Mon, 23 Oct 2017 18:02:43 +0000 (11:02 -0700)
roles/management-web/files/userInfo.tar.xz [new file with mode: 0644]
roles/management-web/tasks/main.yml [new file with mode: 0644]

diff --git a/roles/management-web/files/userInfo.tar.xz b/roles/management-web/files/userInfo.tar.xz
new file mode 100644 (file)
index 0000000..7789427
Binary files /dev/null and b/roles/management-web/files/userInfo.tar.xz differ
diff --git a/roles/management-web/tasks/main.yml b/roles/management-web/tasks/main.yml
new file mode 100644 (file)
index 0000000..de6a4f3
--- /dev/null
@@ -0,0 +1,24 @@
+---
+- name: prereqs
+  with_items:
+  - httpd24
+  - php56
+  yum:
+    name: "{{ item }}"
+    state: present    
+
+- name: web dingus
+  unarchive:
+    dest: /var/www/html
+    src: userInfo.tar.xz
+  creates: /var/www/html/userInfo
+
+- name: enable
+  service:
+    name: httpd
+    enabled: yes
+
+- name: start
+  service:
+    name: httpd
+    state: started