fix package install via playbook and username
This commit is contained in:
parent
872ffab461
commit
085e1a5e85
2 changed files with 5 additions and 3 deletions
|
@ -5,8 +5,10 @@
|
|||
ansible_python_interpreter: /usr/bin/python3
|
||||
tasks:
|
||||
- name: install nginx
|
||||
ansible.builtin.package:
|
||||
ansible.builtin.apt:
|
||||
name: nginx
|
||||
state: present
|
||||
update_cache: true
|
||||
|
||||
- name: copy config
|
||||
ansible.builtin.template:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue