diff options
author | Kristian <kly@gondul-tg17.kly.no> | 2017-04-19 17:23:15 +0200 |
---|---|---|
committer | Kristian <kly@gondul-tg17.kly.no> | 2017-04-19 17:23:15 +0200 |
commit | 2b8e5c971c1c1b80775b6711da5cce3d1eb4cf9d (patch) | |
tree | e60f5a4a639af22e769fe794675b6fc205b53e65 /roles/web/tasks | |
parent | 64b95ebfa7a09cab8815b26a199ca15b4c5e89ca (diff) |
build: First baby steps to "bare metal" deployment
Deals with API and most of the DB so far
Diffstat (limited to 'roles/web/tasks')
-rw-r--r-- | roles/web/tasks/main.yml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/roles/web/tasks/main.yml b/roles/web/tasks/main.yml new file mode 100644 index 0000000..e67e6ce --- /dev/null +++ b/roles/web/tasks/main.yml @@ -0,0 +1,45 @@ +- name: Install front-packages + apt: + name: "{{ item }}" + state: present + with_items: + - libcapture-tiny-perl + - libcommon-sense-perl + - libdata-dumper-simple-perl + - libdbd-pg-perl + - libdbi-perl + - libdigest-perl + - libgd-perl + - libgeo-ip-perl + - libhtml-parser-perl + - libhtml-template-perl + - libjson-perl + - libjson-xs-perl + - libnetaddr-ip-perl + - libnet-cidr-perl + - libnet-ip-perl + - libnet-oping-perl + - libnet-rawip-perl + - libsnmp-perl + - libsocket6-perl + - libsocket-perl + - libswitch-perl + - libtimedate-perl + - perl + - perl-base + - perl-modules + - libfreezethaw-perl + - apache2 + +- apache2_module: + state: present + name: cgid + notify: restart apache +- command: a2dissite 000-default + ignore_errors: true + notify: restart apache +- name: Enable gondul-config + copy: + dest: /etc/apache2/sites-enabled/ + src: gondul.conf + notify: restart apache |