Created
August 18, 2022 16:00
-
-
Save danielnegreiros/5c04f20caf03a412f4a5492e1833e04d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Update cache | |
ansible.builtin.package: | |
update_cache: true | |
- name: Install nginx | |
ansible.builtin.package: | |
name: nginx | |
- name: restart nginx | |
ansible.builtin.service: | |
name: nginx | |
state: restarted | |
enable: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment