Feat: add state

Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
This commit is contained in:
Hadrien Patte 2019-03-23 19:25:04 +01:00
parent e4a60341c5
commit 737ca7b996
No known key found for this signature in database
GPG key ID: 0954F2874A54F4B1
11 changed files with 31 additions and 10 deletions

View file

@ -4,8 +4,9 @@
# but also reduces the surface of attack
- name: Install NGINX server
apt:
name: nginx-light
update_cache: true
name: nginx-light
state: present
register: apt_result
retries: 3
until: apt_result is succeeded