Adjust for rhel7
This commit is contained in:
parent
2df32922c8
commit
566b253f5b
1 changed files with 4 additions and 1 deletions
|
@ -34,7 +34,7 @@
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- rkhunter
|
- rkhunter
|
||||||
- denyhosts
|
- { role: denyhosts, when: ansible_distribution_major_version != '7' }
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- hosts
|
- hosts
|
||||||
- fas_client
|
- fas_client
|
||||||
|
@ -46,6 +46,9 @@
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
- include: "{{ tasks }}/2fa_client.yml"
|
- include: "{{ tasks }}/2fa_client.yml"
|
||||||
- include: "{{ tasks }}/openvpn_client.yml"
|
- include: "{{ tasks }}/openvpn_client.yml"
|
||||||
|
when: ansible_distribution_major_version != '7'
|
||||||
|
- include: "{{ tasks }}/openvpn_client_7.yml"
|
||||||
|
when: ansible_distribution_major_version == '7'
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
- include: "{{ tasks }}/apache.yml"
|
- include: "{{ tasks }}/apache.yml"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue