main.yml 304 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1
2
---
- name: reload firewall
julian.gethmann's avatar
julian.gethmann committed
3
  become: yes
julian.gethmann's avatar
julian.gethmann committed
4
5
6
7
8
  service:
    state: reloaded
    name: firewalld

- name: restart firewall
julian.gethmann's avatar
julian.gethmann committed
9
  become: yes
julian.gethmann's avatar
julian.gethmann committed
10
11
12
13
14
15
16
  service:
    state: restarted
    name: firewalld
    enabled: yes

- name: run profiled
  become: yes
julian.gethmann's avatar
julian.gethmann committed
17
18
19
  shell: bash /etc/profile.d/pelegant.sh
  args:
    warn: False
julian.gethmann's avatar
julian.gethmann committed
20