Cleaned up indents and schtuff, run is clean

This commit is contained in:
Corey Reichle 2018-12-21 13:02:04 -05:00
parent dc71942497
commit efa62ad66d
5 changed files with 100 additions and 84 deletions

View File

@ -1,4 +1,5 @@
---
- name: Setting up ubergeek
user:
name: ubergeek
groups: tilde,sudo

View File

@ -1,70 +1,86 @@
#This play configs apapche for us
---
name: Deploy 000-default.conf
- copy:
- name: Deploy 000-default.conf
copy:
src: ../files/etc/apache2/sites-available/000-default.conf
dest: /etc/apache2/sites/available/000-default.conf
name: Deploy default-ssl.conf
- copy:
dest: /etc/apache2/sites-available/000-default.conf
- name: Deploy default-ssl.conf
copy:
src: ../files/etc/apache2/sites-available/default-ssl.conf
dest: /etc/apache2/sites/available/default-ssl.conf
name: Deploy ftp.summit.ttm.sh.conf
- copy:
dest: /etc/apache2/sites-available/default-ssl.conf
- name: Deploy ftp.summit.ttm.sh.conf
copy:
src: ../files/etc/apache2/sites-available/ftp.summit.ttm.sh.conf
dest: /etc/apache2/sites/available/ftp.summit.ttm.sh.conf
name: Deploy ftp.summit.ttm.sh-le-ssl.conf
- copy:
dest: /etc/apache2/sites-available/ftp.summit.ttm.sh.conf
- name: Deploy ftp.summit.ttm.sh-le-ssl.conf
copy:
src: ../files/etc/apache2/sites-available/ftp.summit.ttm.sh-le-ssl.conf
dest: /etc/apache2/sites/available/ftp.summit.ttm.sh-le-ssl.conf
name: Deploy mail.thunix.cf.conf
- copy:
dest: /etc/apache2/sites-available/ftp.summit.ttm.sh-le-ssl.conf
- name: Deploy mail.thunix.cf.conf
copy:
src: ../files/etc/apache2/sites-available/mail.thunix.cf.conf
dest: /etc/apache2/sites/available/mail.thunix.cf.conf
name: Deploy mail.thunix.cf-le-ssl.conf
- copy:
dest: /etc/apache2/sites-available/mail.thunix.cf.conf
- name: Deploy mail.thunix.cf-le-ssl.conf
copy:
src: ../files/etc/apache2/sites-available/mail.thunix.cf-le-ssl.conf
dest: /etc/apache2/sites/available/mail.thunix.cf-le-ssl.conf
name: Deploy ny.dyniform.net.conf
- copy:
dest: /etc/apache2/sites-available/mail.thunix.cf-le-ssl.conf
- name: Deploy ny.dyniform.net.conf
copy:
src: ../files/etc/apache2/sites-available/ny.dyniform.net.conf
dest: /etc/apache2/sites/available/ny.dyniform.net.conf
name: Deploy summit-nosite.conf
- copy:
dest: /etc/apache2/sites-available/ny.dyniform.net.conf
- name: Deploy summit-nosite.conf
copy:
src: ../files/etc/apache2/sites-available/summit-nosite.conf
dest: /etc/apache2/sites/available/summit-nosite.conf
name: Deploy summit.ttm.sh.conf
- copy:
dest: /etc/apache2/sites-available/summit-nosite.conf
- name: Deploy summit.ttm.sh.conf
copy:
src: ../files/etc/apache2/sites-available/summit.ttm.sh.conf
dest: /etc/apache2/sites/available/summit.ttm.sh.conf
name: Deploy summit.ttm.sh-le-ssl.conf
- copy:
dest: /etc/apache2/sites-available/summit.ttm.sh.conf
- name: Deploy summit.ttm.sh-le-ssl.conf
copy:
src: ../files/etc/apache2/sites-available/summit.ttm.sh-le-ssl.conf
dest: /etc/apache2/sites/available/summit.ttm.sh-le-ssl.conf
name: Deploy thunix.cf.conf
- copy:
dest: /etc/apache2/sites-available/summit.ttm.sh-le-ssl.conf
- name: Deploy thunix.cf.conf
copy:
src: ../files/etc/apache2/sites-available/thunix.cf.conf
dest: /etc/apache2/sites/available/thunix.cf.conf
name: Deploy thunix.cf-le-ssl.conf
- copy:
dest: /etc/apache2/sites-available/thunix.cf.conf
- name: Deploy thunix.cf-le-ssl.conf
copy:
src: ../files/etc/apache2/sites-available/thunix.cf-le-ssl.conf
dest: /etc/apache2/sites/available/thunix.cf-le-ssl.conf
name: Deploy thunix.tilde.chat.conf
- copy:
dest: /etc/apache2/sites-available/thunix.cf-le-ssl.conf
- name: Deploy thunix.tilde.chat.conf
copy:
src: ../files/etc/apache2/sites-available/thunix.tilde.chat.conf
dest: /etc/apache2/sites/available/thunix.tilde.chat.conf
name: Deploy www.summit.ttm.sh.conf
- copy:
dest: /etc/apache2/sites-available/thunix.tilde.chat.conf
- name: Deploy www.summit.ttm.sh.conf
copy:
src: ../files/etc/apache2/sites-available/www.summit.ttm.sh.conf
dest: /etc/apache2/sites/available/www.summit.ttm.sh.conf
name: Deploy www.summit.ttm.sh-le-ssl.conf
- copy:
dest: /etc/apache2/sites-available/www.summit.ttm.sh.conf
- name: Deploy www.summit.ttm.sh-le-ssl.conf
copy:
src: ../files/etc/apache2/sites-available/www.summit.ttm.sh-le-ssl.conf
dest: /etc/apache2/sites/available/www.summit.ttm.sh-le-ssl.conf
name: Deploy www.thunix.cf.conf
- copy:
dest: /etc/apache2/sites-available/www.summit.ttm.sh-le-ssl.conf
- name: Deploy www.thunix.cf.conf
copy:
src: ../files/etc/apache2/sites-available/www.thunix.cf.conf
dest: /etc/apache2/sites/available/www.thunix.cf.conf
name: Deploy www.thunix.cf-le-ssl.conf
- copy:
dest: /etc/apache2/sites-available/www.thunix.cf.conf
- name: Deploy www.thunix.cf-le-ssl.conf
copy:
src: ../files/etc/apache2/sites-available/www.thunix.cf-le-ssl.conf
dest: /etc/apache2/sites/available/www.thunix.cf-le-ssl.conf
dest: /etc/apache2/sites-available/www.thunix.cf-le-ssl.conf

View File

@ -1,8 +1,7 @@
---
# This playbook contains all of the www config
- include: packages.yml
- include: users.yml
- include: apache.yml
- include: codedeploy.yml
---
# This playbook contains all of the www config
- include: packages.yml
- include: users.yml
- include: apache.yml
- include: codedeploy.yml

View File

@ -1,25 +1,25 @@
# Install apache and accoutrements www, irrespective of what role they might have
---
- name: Install wwww packages
apt: name={{ item }} state=present
with_items:
- apache2
- mariadb-server
- mariadb-client
- php7.0
- libapache2-mod-php7.0
- php7.0-mysql
- php7.0-curl
- php7.0-gd
- php7.0-intl
- php-pear
- php-imagick
- php7.0-imap
- php7.0-mcrypt
- php-memcache
- php7.0-pspell
- php7.0-recode
- php7.0-sqlite3
- php7.0-tidy
- php7.0-xmlrpc
- php7.0-xsl
# Install apache and accoutrements www, irrespective of what role they might have
---
- name: Install packages
apt: name={{ item }} state=present
with_items:
- apache2
- mariadb-server
- mariadb-client
- php7.0
- libapache2-mod-php7.0
- php7.0-mysql
- php7.0-curl
- php7.0-gd
- php7.0-intl
- php-pear
- php-imagick
- php7.0-imap
- php7.0-mcrypt
- php-memcache
- php7.0-pspell
- php7.0-recode
- php7.0-sqlite3
- php7.0-tidy
- php7.0-xmlrpc
- php7.0-xsl

View File

@ -6,7 +6,7 @@
- user:
name: amcclure
groups: tilde, sudo
groups: sudo
state: present
skeleton: /etc/skel
shell: /bin/bash