This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
lilik_playbook
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
roles/service: new apt multipackage ansible style
python3
Zolfa
5 years ago
parent
2720707479
commit
d361806a48
Signed by:
zolfa
GPG Key ID:
E1A43B038C4D6616
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
roles/service/tasks/main.yaml
+ 1
- 2
roles/service/tasks/main.yaml
View File
@ -2,12 +2,11 @@
-
block:
-
name
:
install {{ service_name }}
apt:
name
:
"{{ item
}}"
pkg
:
"{{ service_packages
}}"
state
:
present
update_cache
:
yes
cache_valid_time
:
3600
install_recommends
:
'{{ install_recommends | default("no") }}'
with_items
:
"{{ service_packages }}"
-
name
:
start {{ service_name }} at boot
service:
Write
Preview
Loading…
Cancel
Save