ansible-pull looks good

This commit is contained in:
ubergeek
2018-12-21 21:14:32 -05:00
parent f8ed6970e4
commit d56f93997d
6 changed files with 77 additions and 62 deletions

View File

@@ -1,25 +1,30 @@
# 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
- name: Install packages for webserver
apt:
name: "{{ packages }}"
state: present
update_cache: yes
vars:
packages:
- 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