Download:
parent 32:cbe814edc59d
33:01477dfb1836 default tip
Anton Shestakov <av6@dwimlabs.net>, Sun, 27 Sep 2020 19:37:59 +0800
playbook: update apt parameters in pre_tasks

1 файлов изменено, 2 вставок(+), 2 удалений(-) [+]
playbook-example.yml file | annotate | diff | comparison | revisions
--- a/playbook-example.yml Sun Sep 27 19:00:21 2020 +0800
+++ b/playbook-example.yml Sun Sep 27 19:37:59 2020 +0800
@@ -25,7 +25,7 @@
update_cache: yes
cache_valid_time: 3600
package: nginx-full
- state: installed
+ state: present
- name: Disable default Nginx site
file:
path: /etc/nginx/sites-enabled/default
@@ -33,7 +33,7 @@
- name: Install Supervisor
apt:
package: supervisor
- state: installed
+ state: present
roles:
# - role: nginx
# tags: [nginx]