This is my first attempt at getting my own nri flex to work. I did copy the tutorial flex-uptime.yml and it is working, so, I know Flex is working. And, to make sure I had things indented properly, I used a copy of the same working file and just replaced the values. The ‘script’ I am running provides a single numerical value output with no head. I am modifying the real paths in the below pasting, but, just the paths and file names, to protect the innocent. This is running on Linux:
Below is my current code. I have tried with split values and without. I have tried with set_header and without. I have also tried with the single ‘header’ being in  and not.
- name: nri-flex
- name: ExpireSsl
- run: ‘/etc/dir1/dir2/dir3/cert_exp_days.sh /etc/dir4/dir5/thisisntworking_com.pem’