Ansible nginx role using ansible-galaxy

This commit is contained in:
2019-08-15 07:27:57 +00:00
parent eeafed8f36
commit c42ffc0edc
16 changed files with 319 additions and 0 deletions

17
ansible/apt-up.yml Normal file
View File

@@ -0,0 +1,17 @@
---
- hosts: all
become: yes
tasks:
- name: Ensure package lists are up-to-date
apt:
update_cache: yes
- name: Ensure packages are up-to-date
apt:
upgrade: dist
- name: Remove unused packages from the cache
apt:
autoclean: yes
- name: Remove dependencies that are no longer required
apt:
autoremove: yes