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