deplacement template virtualhost
This commit is contained in:
parent
9993844f02
commit
d475156b3e
@ -11,6 +11,17 @@
|
|||||||
ansible_become_password: "{{ sudo_password }}"
|
ansible_become_password: "{{ sudo_password }}"
|
||||||
when: script is not defined
|
when: script is not defined
|
||||||
|
|
||||||
|
- name: Template virtualhost
|
||||||
|
template:
|
||||||
|
src: virtualhost.j2
|
||||||
|
dest: /etc/sentinel/virtualhost
|
||||||
|
mode: "0444"
|
||||||
|
vars:
|
||||||
|
ansible_become: yes
|
||||||
|
ansible_become_method: sudo
|
||||||
|
ansible_become_password: "{{ sudo_password }}"
|
||||||
|
when: script is not defined or script == "blacklist"
|
||||||
|
|
||||||
- name: Copy blacklist
|
- name: Copy blacklist
|
||||||
copy:
|
copy:
|
||||||
src: "{{ playbook_dir }}/blacklist/{{ inventory_hostname }}/etc/sentinel/blacklist"
|
src: "{{ playbook_dir }}/blacklist/{{ inventory_hostname }}/etc/sentinel/blacklist"
|
||||||
|
@ -1,15 +1,5 @@
|
|||||||
# tasks file for stats script
|
# tasks file for stats script
|
||||||
|
|
||||||
- name: Template virtualhost
|
|
||||||
template:
|
|
||||||
src: virtualhost.j2
|
|
||||||
dest: /etc/sentinel/virtualhost
|
|
||||||
mode: "0444"
|
|
||||||
vars:
|
|
||||||
ansible_become: yes
|
|
||||||
ansible_become_method: sudo
|
|
||||||
ansible_become_password: "{{ sudo_password }}"
|
|
||||||
|
|
||||||
- name: Template token ipinfo
|
- name: Template token ipinfo
|
||||||
template:
|
template:
|
||||||
src: token.j2
|
src: token.j2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user