everything on comment
This commit is contained in:
+15
-15
@@ -21,22 +21,22 @@
|
|||||||
mode: '0755'
|
mode: '0755'
|
||||||
when: app_dir.stat.exists == false
|
when: app_dir.stat.exists == false
|
||||||
|
|
||||||
- name: Ensure python requirements file is present
|
# - name: Ensure python requirements file is present
|
||||||
ansible.builtin.copy:
|
# ansible.builtin.copy:
|
||||||
src: requirements.txt
|
# src: requirements.txt
|
||||||
dest: "{{ ansible_workdir }}/requirements.txt"
|
# dest: "{{ ansible_workdir }}/requirements.txt"
|
||||||
mode: '0644'
|
# mode: '0644'
|
||||||
owner: root
|
# owner: root
|
||||||
group: root
|
# group: root
|
||||||
force: yes
|
# force: yes
|
||||||
when: app_dir.stat.exists == true and python_requirements is defined
|
# when: app_dir.stat.exists == true and python_requirements is defined
|
||||||
|
|
||||||
- name: Install specified python requirements
|
#- name: Install specified python requirements
|
||||||
ansible.builtin.pip:
|
# ansible.builtin.pip:
|
||||||
requirements: "{{ ansible_workdir }}/requirements.txt"
|
# requirements: "{{ ansible_workdir }}/requirements.txt"
|
||||||
state: present
|
# state: present
|
||||||
become: yes
|
# become: yes
|
||||||
when: app_dir.stat.exists == true and python_requirements is defined
|
# when: app_dir.stat.exists == true and python_requirements is defined
|
||||||
|
|
||||||
- name: Include extra Nagios/NRPE task logic
|
- name: Include extra Nagios/NRPE task logic
|
||||||
include_tasks: nagios_tasks.yml
|
include_tasks: nagios_tasks.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user