change latest by present
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9f826d8f61
commit
e9602547ab
1 changed files with 13 additions and 3 deletions
|
|
@ -3,15 +3,25 @@
|
|||
include_vars: "{{ ansible_os_family }}.yml"
|
||||
|
||||
- name: Install tftp packages
|
||||
package: name="{{ tftp_packages_name }}" state=latest update_cache=yes
|
||||
package:
|
||||
name: "{{ tftp_packages_name }}"
|
||||
state: present
|
||||
update_cache: yes
|
||||
notify: Restart xinetd
|
||||
|
||||
- name: Deploy tftp configuration
|
||||
template: src=xinetd_tftp.j2 dest=/etc/xinetd.d/tftp owner=root group=root mode=0644
|
||||
template:
|
||||
src: xinetd_tftp.j2
|
||||
dest: /etc/xinetd.d/tftp
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: Restart xinetd
|
||||
|
||||
- name: Enable xinetd on boot
|
||||
service: name=xinetd enabled=yes
|
||||
service:
|
||||
name: xinetd
|
||||
enabled: yes
|
||||
|
||||
- name: Open Firewalld
|
||||
firewalld:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue