hello,
I want to test if web redirect works first without making public. curl
equivalent would be
curl -LI --header 'Host: www.example.com' 'http://localhost'
uri module seems to be perfect for this but struggle with headers parameter
for 'Host' header.
Task created
- name: Test redirect
Hello,
I'm having trouble to figure out the best way to use handler with listed
variables. My setup is as follow:
*vars:*
omd_sites:
- prod
- stg
- dev3
*tasks:*
- name: Template groups.mk
template:
src: groups.mk.j2
dest: "/opt/omd/sites/{{ item }}/etc/check_mk/
Hello,
I'm trying to determined if package is installed and what version
I have the following tasks
vars:
cmk_version: 1.4.0p7
- name: Check if check-mk-raw package is installed
yum:
list: installed
register: yum_packages
- name: Display cmk_installed_version
Josh, thank you for the hint. Work as expected.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@googlegroups.com.
To post to this
Hello,
I'm trying to remove jinja delimiter used in when condition.
My condition tests whether partition exists on disk drive. I use variable
to assign which drive to test
vars:
raw_disk: 'sdb'
task:
- include: lvm.yml
when: ansible_devices.{{ raw_disk }}.partitions|length == 0
with {{
Hello,
I'm new to ansible and struggle to find a way create a role that could
install application both on Windows and Linux os. I'm having problem to
allocate correct ansible_connection ansible_user. It seems like if I set in
vars connection parameters for Windows that affects Linux access an