Skip to content
Snippets Groups Projects
Verified Commit b9a24ffe authored by Chris Croome's avatar Chris Croome
Browse files

Fix chroot detection

parent 44ab2312
No related branches found
No related tags found
1 merge request!1Merge Sury
Pipeline #26643 passed
......@@ -26,7 +26,7 @@
- name: When the exit code is 47 assume is is because this is a chroot
ansible.builtin.set_fact:
php_init: "{{ php_ps.stdout }}"
php_init: chroot
when: php_ps.rc == 47
- name: Debug the ini system
......
......@@ -14,12 +14,12 @@
- name: Debug the hostvars variable names that start with php_
ansible.builtin.debug:
var: phpvarnames
verbosity: 2
verbosity: "{% if ansible_check_mode | bool %}3{% else %}4{% endif %}"
- name: Debug the hostvars variable names that start with php_
ansible.builtin.debug:
var: phphostvars
verbosity: 3
verbosity: "{% if ansible_check_mode | bool %}3{% else %}4{% endif %}"
- name: Check php_ variables using meta/argument_specs.yml
ansible.builtin.validate_argument_spec:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment