Feat: add state
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
This commit is contained in:
parent
e4a60341c5
commit
737ca7b996
11 changed files with 31 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue