Commit aa0c47ab authored by Chris Croome's avatar Chris Croome

ansible-lint apt updates

parent b09629ba
---
- name: Cron and git installed
apt:
pkg: "{{ item }}"
state: latest
with_items:
- cron
- git
pkg:
- cron
- git
state: present
- name: Acme.sh git repo cloned / updated
git:
......
......@@ -2,35 +2,34 @@
# https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
- name: Apache and PHP packages installed
apt:
pkg: "{{ item }}"
state: latest
pkg:
- apache2
- apache2-utils
- libapache2-mod-php7.0
- memcached
- php-gd
- php7.0
- php7.0-bz2
- php7.0-ctype
- php7.0-curl
- php7.0-dom
- php7.0-exif
- php7.0-fileinfo
- php7.0-gd
- php7.0-iconv
- php7.0-imagick
- php7.0-intl
- php7.0-json
- php7.0-mbstring
- php7.0-mcrypt
- php7.0-memcached
- php7.0-mysqli
- php7.0-simplexml
- php7.0-xmlreader
- php7.0-xmlwriter
- php7.0-zip
state: present
update_cache: yes
with_items:
- apache2
- apache2-utils
- libapache2-mod-php7.0
- memcached
- php-gd
- php7.0
- php7.0-bz2
- php7.0-ctype
- php7.0-curl
- php7.0-dom
- php7.0-exif
- php7.0-fileinfo
- php7.0-gd
- php7.0-iconv
- php7.0-imagick
- php7.0-intl
- php7.0-json
- php7.0-mbstring
- php7.0-mcrypt
- php7.0-memcached
- php7.0-mysqli
- php7.0-simplexml
- php7.0-xmlreader
- php7.0-xmlwriter
- php7.0-zip
register: apache_packages
- name: Custom Apache php.ini in place
......
......@@ -3,10 +3,9 @@
# https://www.collaboraoffice.com/code/
- name: Packages present
apt:
pkg: "{{ item }}"
state: latest
with_items:
- python-docker
pkg:
- python-docker
state: present
- name: Script to check subjectAltNames in place
copy:
......
......@@ -2,11 +2,10 @@
# https://blog.netways.de/2017/08/16/setting-up-a-turn-server-for-nextcloud-video-calls/
- name: Coturn Server Installed
apt:
pkg: "{{ item }}"
state: latest
pkg:
- coturn
state: present
update_cache: yes
with_items:
- coturn
- name: Enable the TURN server
lineinfile:
......
---
- name: MariaDB installed
apt:
pkg: "{{ item }}"
pkg:
- python-mysqldb
- python3-mysqldb
- mariadb-client
- mariadb-server
- mysqltuner
state: latest
update_cache: yes
with_items:
- python-mysqldb
- python3-mysqldb
- mariadb-client
- mariadb-server
- mysqltuner
- name: MariaDB test database removed
mysql_db:
......
......@@ -3,11 +3,10 @@
# https://git.coop/webarch/ansible/blob/master/roles/munin-node/tasks/main.yml
- name: Munin node packages installed
apt:
pkg: "{{ item }}"
state: latest
pkg:
- libcache-memcached-perl
state: present
update_cache: yes
with_items:
- libcache-memcached-perl
- name: Directory for Apache localhost files in place
file:
......
---
- name: Packages present
apt:
pkg: "{{ item }}"
state: latest
with_items:
- curl
- dnsutils
- lynx
- pwgen
- smbclient
- ssl-cert-check
- fail2ban
pkg:
- curl
- dnsutils
- lynx
- pwgen
- smbclient
- ssl-cert-check
- fail2ban
state: present
- name: Script to check subjectAltNames in place
copy:
......
---
- name: Various packages present
apt:
pkg: "{{ item }}"
state: latest
pkg:
- curl
- dnsutils
- lynx
- lua-event
- lua-lpty
- lua-zlib
- pwgen
- smbclient
- ssl-cert-check
- git
- python-bcrypt
- python-configargparse
- python-requests
- net-tools
- python3
- python3-requests
- python3-configargparse
- python3-bcrypt
- python3-bsddb3
- socket
state: present
update_cache: yes
with_items:
- curl
- dnsutils
- lynx
- lua-event
- lua-lpty
- lua-zlib
- pwgen
- smbclient
- ssl-cert-check
- git
- python-bcrypt
- python-configargparse
- python-requests
- net-tools
- python3
- python3-requests
- python3-configargparse
- python3-bcrypt
- python3-bsddb3
- socket
# https://prosody.im/download/package_repository
- name: Prosody GPG key present
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment