From: Justin Wind Date: Mon, 23 Oct 2017 18:02:43 +0000 (-0700) Subject: add rudimentary web interface for user management X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=0d01159a10c892df107142341eff662d4ca57dc5;p=awsible add rudimentary web interface for user management --- diff --git a/roles/management-web/files/userInfo.tar.xz b/roles/management-web/files/userInfo.tar.xz new file mode 100644 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 index 0000000..de6a4f3 --- /dev/null +++ b/roles/management-web/tasks/main.yml @@ -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