Download:
child 9:855a89f33e5e
parent 7:e6345025463e
8:d5f5d21b8880
Anton Shestakov <av6@dwimlabs.net>, Mon, 28 Sep 2020 21:29:27 +0800
playbook: update apt parameters

1 файлов изменено, 4 вставок(+), 5 удалений(-) [+]
playbook-example.yml file | annotate | diff | comparison | revisions
--- a/playbook-example.yml Tue Jul 17 13:40:48 2018 +0800
+++ b/playbook-example.yml Mon Sep 28 21:29:27 2020 +0800
@@ -24,11 +24,10 @@
apt:
update_cache: yes
cache_valid_time: 3600
- package: '{{ item }}'
- state: installed
- with_items:
- - apache2
- - libapache2-mod-wsgi
+ package:
+ - apache2
+ - libapache2-mod-wsgi
+ state: present
- name: Enable mod_wsgi
apache2_module:
state: present